Testing
TDD
- Write your tests before writing other code. I.e. Write tests based on your expectations of what your functional + non-functional requirements are, then write the code.
BDD
Test Doubles 1
- Stub: returns a predefined response, regardless of output
- Mock
- Spy
References
https://github.com/testdouble/contributing-tests/wiki
Cateogory: [Tech]
Tags: [test]