Microtesting
summary
Claim: fewer, higher-value tests give equal or better confidence and much faster feedback by replacing the rigid pyramid with pragmatic, feature-focused suites. Techniques shown include subcutaneous tests (MVC-level tests hitting real DB and services), using a DI container to resolve test subjects, hand-rolled mocks, object mother and test-data builders, and tools like TestStack.BDDfy, Shouldly and ApprovalTests.net. Examples: student controller, checkout → provisioning JSON (approved diff), and user registration scenarios; the approach reduces brittle unit/UI tests and works in practice to speed releases.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 0:39What is Microtesting
- 2:07Confidence
- 4:02Speed vs Confidence
- 7:28Testing Pyramid
- 8:59Goal of Testing
- 9:32Speed of Release
- 12:00Challenge Yourself
- 16:04Testing Strategy
- 18:06subcutaneous testing
- 20:51subcutaneous tests
- 24:17unit tests
- 25:57automated UI tests
- 28:02Scenario
- 29:46Code
- 33:04Patterns
- 37:55Marking
- 41:47Object mother and test
- 46:13Approval test
- 53:56Questions
- 54:35Conclusion
- 58:29Integrate to database
related talks
57mAdvanced Testing Techniques: Tips from the trenches
58mTesting Strategy - New Model, Better Outcomes
41mTesting done right: From bugs to brilliance
59m.NET Testing Techniques You Didn’t Know You Needed
42mUse testing to Develop Better Software Faster
43mUnselfish Testing
48mModern Testing Patterns
37mClean Test Code
