Mutation testing comes to DAML
Summary
Mewt is an open-source mutation-testing engine (a tool that deliberately introduces small bugs into code to check if tests catch them) that now supports DAML, a language used for smart contracts on the Canton Network. Traditional test coverage reports can be misleading because they only show whether code was executed, not whether tests actually verify that the code works correctly, so mutation testing provides a more accurate measure by counting how many intentional bugs the test suite successfully detects.
Solution / Mitigation
To use Mewt for DAML projects, install Mewt from the repository, create a mewt.toml configuration file pointing to your project and its test command, and run 'mewt run' to execute the mutation testing.
Classification
Original source: https://blog.trailofbits.com/2026/07/08/mutation-testing-comes-to-daml/
First tracked: July 8, 2026 at 08:01 AM
Classified by LLM (prompt v3) · confidence: 95%