Testing Data Scripts: the script command
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.