This repo contains the code examples from "Effective Software Testing" book (by Mauricio Aniche), but using Ruby/Minitest instead of Java/JUnit.
- Chapter 1. Effective and systematic software testing
- Chapter 2. Specification-based testing
- Chapter 3. Structural-testing and code coverage
- Chapter 4. Designing contracts
- more to be done...
Each directory of this repo refers to a chapter of the book and contains its own README. There you can see the main takeaways I took from each chapter (and maybe some caveats about the code translation).
The code in this repository was tested in Ruby 3.1.2 and Minitest 5.18. For more details, check the Gemfile.