On this page
Kater CLI Build and check test
kater test list
Lists tests, with how each one last ran, and who added it and when.
Use it to find the tests that failed, that are still drafts, or that must run again. It reads the records on this machine, and it runs and compiles nothing.
Examples
# List the tests of the shared ad_reporting modelkater test list --model semantic.ad_reporting# List only the tests whose last run failedkater test list --model semantic.ad_reporting --failing# List the drafts that someone must still checkkater test list --model semantic.ad_reporting --drafts# List every test of the connection that must run againkater test list --connection snowflake_prod_connection --staleOptions
It also takes the global options --json, --kater-root, --scope and --help.
What it prints
For each model’s test file, it gives how many tests the file has and when they last ran. It then counts the tests that pass, fail, are drafts, never ran or are stale. Then each test has one line: its last status, its name, its kind of answer, and who added it and when.
To see whether a model is ready to hand off, use kater test readiness.