Giter VIP home page Giter VIP logo

find-issues's Introduction

Grace Hopper Celebration 2018 - Find Issues

This is the TDD in OSS workshop repo for GHC 18.

Maintainers

  1. Genevieve L'Esperance
  2. Samantha Langit
  3. Angela Chin

Setup

  1. Install go.

  2. Install ginkgo. This is our testing framework.

  3. Fork the repo in github to your account.

  4. Clone the repo.

    cd ~/go/src/github.com/YOUR-ACCOUNT
    git clone [email protected]:YOUR-ACCOUNT/find-issues
  5. Run the tests!

    ginkgo -r -race -parallel .

The Exercise

  1. Pick an issue from the issues page.

  2. Using a text editor or IDE, create a file in the acceptance/ directory.

  3. Write the acceptance test for the new feature.

  4. Run the test.

    ginkgo -r -race -parallel acceptance/
  5. Create a file in the appropriate package directory.

  6. Write the unit test.

  7. Run the test. It will fail to compile! That's okay!

  8. Create a file to write the code. Write the least amount you think you need to get the test to pass.

  9. Run the test and fix the code until it goes green!

  10. Run the acceptance test and fix the code until it goes green.

  11. Refactor if need be.

  12. Push the code to a branch or fork of the repo.

  13. Create a pull request that references the open issue.

๐Ÿ™ŒYou're done!๐Ÿ™Œ

Questions?

If you have any questions during the workshop, open a github issue on this repo. You can answer other people's questions/issues or vote on issues that you want to have answered or resolved.

find-issues's People

Contributors

angelachin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.