Skip to content

Fixing bugs

Robert Martin edited this page Dec 14, 2016 · 3 revisions

Steps

  1. Create an issue documenting the problem and any known causes.
  2. Check out a branch referencing the issue number, like iss-214.
  3. Make code changes.
  4. Write a unit test based on the scenario that the produced the bug. Make sure it fails on master and passes on the issue branch.
  5. When you commit your changes, reference the issue number in your commit message like Fix a bug where pages weren't loading, closes #214. This will automatically close the issue and leave a reference to the work you did. More on that here.
  6. Create a pull request for someone to review your changes.
Clone this wiki locally