Core Concepts
Advanced features that make Americium powerful and practical
What You’ll Learn
In this section, you’ll explore the core features that make Americium a professional-grade testing tool:
- Multi-Parameter Tests - Using
.and()to supply tests with multiple independent inputs - Reproducing Failing Test Cases - Recipe hashes, JSON recipes, and the database mechanism
- All About Shrinkage - Distance shrinkage, complexity shrinkage, and how they work together
- Configuration Options - Time budgets, complexity limits, seeding, and shrinkage control
- Awkward Tests - Handling preconditions with
Trials.reject()andTrials.whenever()
Moving Beyond the Basics
By now you understand how to create trials, supply test cases, and compose them with mapping and flat-mapping. This section dives deeper into the features you’ll use in real-world testing scenarios.
Navigation
Work through these topics in order for the best understanding, or jump to what you need:
These features build on the Getting Started material. If something seems unclear, it may help to review the earlier sections first.