Profiling Migrations, Queries, and Database Code
Run atlas migrate test and atlas schema test with --profile to measure the locks, rewrites, and space each migration, query, or function needs.
Run atlas migrate test and atlas schema test with --profile to measure the locks, rewrites, and space each migration, query, or function needs.
Test Data Scripts with atlas schema test, atlas migrate test, and atlas script test: the script command loads a script file, runs the scripts matching run, asserts what a script prints with output or match, expects failures with error, and runs the scripts under a reduced role or login with the as block.
Learn how to write tests for your migrations with Atlas using `atlas migrate test` to ensure migrations are correct and safe, including data migrations.