Testing profiles
LesliTesting configures one shared Minitest workflow for three project shapes. Select exactly one profile in test/test_helper.rb before requiring the code being measured.
| Profile | Use for | Guide |
|---|---|---|
LesliTesting.app(name, options) | A full Rails application or Lesli workspace | Applications |
LesliTesting.engine(name, options) | An isolated or mountable Rails engine | Engines |
LesliTesting.gem(name, options) | A standalone Ruby gem | Gems |
All profiles configure the custom Minitest reporter. When COVERAGE is set to true, 1, or yes, they also start the matching SimpleCov profile and produce console and Cobertura output.
Start with Installation and configuration, review the definitive load order and process behavior, then choose the guide for the repository being tested. Testing tools documents coverage options, shared test classes, response helpers, and fixture integration.
Last Update: 2026/10/20