Testing (Programming)
- Method: Test driven development methodology
- Tiers
- Unit tests
- Feature tests
- End-to-End tests
- Tools
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
- Write as many test you can think of to “break” the code.l
Parts
- Arrange: set up variables
- Act: do the thing
- Assert: add testing