Run your automated tests against a real database if you want maximum confidence your code works. *** THEORY from blog … Continue reading Run your automated tests against a real database
The software we develop runs as the sum of its parts, not as ‘isolated units’ sooooo… try to limit the … Continue reading Is mocking overused when testing our software? Answer = Yes!
If you’ve just changed or created a test the fact it passes doesn’t mean SH*T… At this stage you’ve no … Continue reading Tests can have bugs too, review them like normal code and change them as little as possible
When your ‘test’ environment accidentally writes to production 😂 … BBC apologises after ‘Manchester United are rubbish’ appears on screen … Continue reading When your ‘test’ environment accidentally writes to production
Don’t forget integration tests to make sure your software’s modules work together. For sure unit tests are quicker but they test … Continue reading Don’t forget integration tests to make sure your software’s ‘units’ WORK TOGETHER
I love parameterized tests. Instead of adding many different test methods with different inputs set in the method body we … Continue reading eShopOnWeb Architecture (14/16) – uses parameterized tests
eShopOnWeb has some really low level tests which IMHO provide low or no value in terms of being able to … Continue reading eShopOnWeb Architecture (10/16) – has unit tests which test very low level implementation details