[DRAFT]This page is not published. Only visible in development mode.
Testing
ReifyDB has a built-in test framework. Write tests alongside your schema, seed data with test procedures, and assert results inline.
Tests and Test Procedures
$ Create and Run Tests
CREATE TEST PROCEDURE defines reusable setup logic. CREATE TEST defines a test that calls setup procedures, runs queries, and asserts results. Each test runs in isolation — data from one test never leaks into another.
Assert Expressions
$ Assert Expressions
ASSERT checks that a condition is true. Use it inline in pipelines or standalone. Tests fail on the first assertion failure.
