Investing in Testing with Reason
summary
Reason Native’s testing framework Rely concentrates on concrete payoffs: encode business rules in the type system so adding mismatched currencies is a compile error, use phantom types to enforce lifecycle order, and apply builder patterns to avoid mass test breakage. The stack runs 5,000 tests in about a second (first run ~15s subsequent ~3–7s) and claims nearly 100% code coverage, shifting effort from brittle unit maintenance to relevant integration checks.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:24Why do we test
- 1:49Confidence
- 2:45Test vs Theorem
- 7:32Types
- 10:31Testing Pyramid
- 15:03Writing Unit Tests
- 17:07Testing Trophy
- 18:32heuristics
- 18:55Relevance
- 24:22Design Patterns
- 29:46Outro
related talks
56mIf You Won't Test Your Code, Who Will?
26mTesting the Tricky Stuff
44mTesting: Testing
34mSwift Testing: A testing framework for modern Swift
46mTesting the untestable - patterns and use cases analysis
44mTesting the untestable - patterns and use cases analysis
27mQuest for Adequate Autotest Coverage
24mDemystifying Code Through Testing
