Test Driven Development (TDD)
- Write a test
- Write your code so the tests pass
- Refactor your code so it isn't
- GOTO 1
Behaviour-driven Development (BDD)
BDD tests are written in a language called Ghurkin. There are lots of tools and frameworks in almost every language that can process files written in Ghurkin.
pytest-bdd looks OK, there is also