cat-smoke-tests
Smoke tests
Is there data? One row is enough, the test costs almost nothing, and when it fails nothing
else is worth running. Every fact is on the documentation page it links; the same page as
markdown is at the URL with index.md appended, which is the form to read when your fetch
tool summarizes HTML.
The pattern
Three grains: the table, the latest partition or period, a business slice. The middle one catches the load that did not run; it runs first after every load and before the expensive comparisons. The tests, the grains, and the pairing with a freshness check when "not empty" is not enough: https://docs.justcat.it/how-to-guides/test-patterns/smoke-tests-with-set-is-not-empty/
The expectation and the one trap it has: https://docs.justcat.it/reference/tests/expectations/set-is-not-empty/