Testing (Programming)

Guidelines

  • Name tests in a way that non-programmers would also understand
  • Avoid words like “correctly” or “right”, instead describe what you want to do

Parts

  1. Arrange: set up variables
  2. Act: do the thing
  3. Assert: add testing