Skip to main content

Testing

Testing as rapid feedback

  • What do others do without tests? β€’ Argues that the primary purpose of testing can be giving yourself quicker feedback while developing and debugging than you can get from a REPL, debugger or browser β€’ Thorsten Ball πŸ“–

Testing features, not code

Test-Driven Development

  • Canon TDD β€’ β€œWrite a list of the test scenarios you want to cover. Turn exactly one item on the list into an actual, concrete, runnable test. Change the code to make the test (& all previous tests) pass (adding items to the list as you discover them). Optionally refactor to improve the implementation design.” β€’ Kent Beck πŸ“–
  • TDD for those who don’t need it β€’ Funny talk showing how to use TDD to loop through a declarative list of requirements you list up front β€’ Chew Choon Keat πŸ“Ί
  • TDD, Where Did It All Go Wrong? β€’ How to apply TDD as originally intended and avoid bad practices like testing implementation details instead of required behaviours β€’ Ian Cooper πŸ“Ί
  • TDD: The Bad Parts β€’ Identifies bad testing practices to avoid and includes tips like pairing tests with behaviours, not files β€’ Matt Parker πŸ“Ί
  • Five Underplayed Premises Of TDD | Video β€’ GeePaw Hill πŸ“–
  • TDD β€’ Questions whether TDD leads to building the right thing when you first need to explore a problem before deciding how to solve it β€’ The Primeagen πŸ“Ί

Playwright

Testing in production

API Testing

Model-based testing

Inbox