Dear .NET friends, how do you like to create your mocks? 🤔 …With a framework like Moq or manually? I … Continue reading Do you use a mocking framework or manually create your mocks?
I love parameterized tests. Instead of many different test methods with different inputs set in the method body we have … Continue reading How to create Parameterized Tests with xUnit
Which .NET mocking library syntax do you prefer from the below test examples? Moq?NSubstitute?FakeItEasy? … and which library do you … Continue reading Moq, NSubstitute and FakeItEasy mocking library syntax comparison
It’s always a divisive topic but in your experience, does Test-Driven Development (TDD) improve code quality more than writing tests … Continue reading Poll Results : Does TDD improve code quality over writing tests after code?
What tool are you using for e2e automated testing in your team and why? I ran the below LinkedIn poll … Continue reading Poll Results : What e2e testing tool do you prefer?
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