Mr Galoot
1 min readOct 5, 2017

--

Yes yes yes.

I think one of the best rules to apply to testing is ‘divide and conquer’. The bigger the chunk of functionality you are trying to test, the more difficult and complex it is going to be, and consequently the easier it will be to miss something.

Personally I’m fully signed up to the principles of TDD and unit testing. Write simple little tests for simple little bits of code. If you have an if statement, test each branch etc etc.

Anyone who releases untested code into use deserves everything they get.

--

--

No responses yet