TDD
- https://tddmanifesto.com/getting-started/
- https://tddmanifesto.com/a-clean-test/
- https://tddmanifesto.com/exercises/
- https://online-training.jbrains.ca/p/wbitdd-01
- https://journal.optivem.com/p/tdd-in-legacy-code
- https://app.pluralsight.com/library/courses/test-driven-rails-rspec-capybara-cucumber/table-of-contents
Three Laws of TDD
::
- No production code unless it is to make a failing test pass.
- No more of a unit test than is sufficient to fail.
- No more production code than is sufficient to pass the one failing test.
4 most basic tests we must write
::
- all happy paths
- edge/corner/boundary cases
- negative test cases
- security and illegal issues