#Property-Based-Testing
3 notas · última:
A case study for property based testing in Elixir
The author explains property based testing through a simple addition example, then applies it to a poll percentage function where rounding can break the total, and shows how a preconditioned assertion catches the bug.
4 Tips for Mastering Test-Driven Development
The article explains TDD basics and four practical techniques: isolate external calls, test rollbackable migrations, watch code coverage, and use property-based testing to catch bugs earlier.
Functional Programming in a Dysfunctional World
The article argues that functional programming improves correctness and testability through immutability, pure functions, algebraic data types, and strong type systems, with property-based testing as a key complement.
