Testing in Rell
This section provides an overview of the Rell test module and its key components.
The test module in Rell lets developers create and run unit tests using the @test
annotation. Functions starting with test_ or named test are treated as test cases, executed
with chr test to show pass/fail status and execution time.
The rell.test namespace provides types and functions for creating and running test blocks, transactions,
and operations, enabling thorough test scenarios and code validation.
Assertions in Rell validate conditions in tests. Functions like assert_equals, assert_true,
and assert_false check expected values, while assert_lt and assert_gt verify
ranges. assert_fails ensures functions fail as expected.