Skip to content

Instantly share code, notes, and snippets.

@daoleno
Created April 30, 2018 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daoleno/7ebc5ae330d385404677c6d0525b133a to your computer and use it in GitHub Desktop.
Save daoleno/7ebc5ae330d385404677c6d0525b133a to your computer and use it in GitHub Desktop.
  1. Implementing the main feature first
  2. Writing the test afterwards
  3. Running the test to see it succeed
  4. Commenting out critical parts of the feature code
  5. Running the test to see it fail
  6. Uncommenting feature code to its original state
  7. Running the test to see it succeed again
  8. Commiting the code

Reference: http://blog.codepipes.com/testing/software-testing-antipatterns.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment