Migrating to v2
v2 reorganizes a few config fields and tightens defaults. This page lists the breaking changes and the mechanical rewrites needed to move a v1 project over.
Breaking changes
- Config file renamed:
assrtrc.yaml→assrt.config.yaml. - Default timeout tightened from 5 minutes to 2 minutes.
retriesdefaults to 0. Opt in explicitly on flaky tests.- Secrets no longer fall back to
env.*. Usesecret.*for masked values.
Automatic migration
bash
npx @assrt/cli migrate v2The migration tool rewrites config files, renames referenced fields in tests, and prints a report of anything that needs manual attention.
Run the migration on a branch and review the diff before merging. It is safe and reversible, but seeing every change in a PR is a good checkpoint.