Skip to content

How do I know my code works?

I know the code for my new feature works because:

  1. I wrote it
  2. my IDE doesn’t underline anything in red
  3. my linting program doesn’t report any issues
  4. my runtime / compiler reports no syntax/compile errors
  5. the runtime / compiler on my build server reports no syntax/compile errors from a fresh checkout
  6. automated tests for my feature pass
  7. all automated tests pass
  8. all automated tests pass when run by my build server from a fresh checkout
  9. I peer-reviewed the code for my new feature
  10. I manually tested the new feature
  11. I manually tested other features and they still work
  12. Someone else manually tested the new feature
  13. Someone else manually tested other features and they still work
  14. I deployed it to production
  15. it’s been in production for an hour
  16. it’s been in production for a day
  17. it’s been in production for a week
  18. it’s been in production for a month
  19. it’s been in production for a year

One Comment

  1. Gautham Ganapathy wrote:

    http://www.jpl.nasa.gov/news/news.php?release=2010-151

    :)

    Wednesday, October 22, 2014 at 8:26 am | Permalink