Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (23 loc) · 1.15 KB

DEV-PROCESS.md

File metadata and controls

27 lines (23 loc) · 1.15 KB

Development process

  1. Create a branch to represent your work. git checkout -b branchname will simultaneously create a new branch and switch you to it.

  2. Start by writing tests that describe what you are adding. Your tests should make you confident that, when they pass, the feature you are adding is done and implemented properly. Be thoughtful about corner cases, like failures.

  3. If you made a new test file, add it to run-tests.

  4. Now implement the feature until your tests pass. If you think of any extra edge cases, add them. Keep working until all the tests pass and you're happy with your work.

  5. Merge in the most recent Node branch.

       $ git fetch
       $ git merge origin/Node
    
  6. Fix any merge conflicts that may have resulted from the above.

  7. Run ./run-tests. They should all pass.

  8. Push your branch to GitHub.

  9. Create a pull request on GitHub from your branch to Node. Add at least one other programmer as a participant to review it.

  10. When you and the reviewer are happy with the changes, merge them into Node.

TODO: The Node branch should be changed to dev or something.