loading...

re: Clean, DRY, SOLID Spaghetti VIEW POST

TOP OF THREAD FULL DISCUSSION
re: The purpose of tests is not to detect bugs. The purpose is to verify correct behaviour. You write tests first to define expected behaviour, then wr...
 

Before one test, one must study requirements, plan a solution then break that plan into autonomous parts. Once the parts have been identified along with the reqs they satisfy, then the logic can be programmed. Then tests can be written to test that logic and also the comms interface between subsystems.

code of conduct - report abuse