2 releases
0.1.6 | May 14, 2024 |
---|---|
0.1.5 | May 14, 2024 |
#492 in Rust patterns
847 downloads per month
52KB
908 lines
Antithesis Rust SDK
This library provides methods for Rust programs to configure the Antithesis platform. It contains three kinds of functionality:
- Assertion macros that allow you to define test properties about your software or workload.
- Randomness functions for requesting both structured and unstructured randomness from the Antithesis platform.
- Lifecycle functions that inform the Antithesis environment that particular test phases or milestones have been reached.
For general usage guidance see the Antithesis Rust SDK Documentation
Notes
To disable assertions use this feature flag for cargo builds:
-F no-antithesis-sdk
When assertions are disabled, the condition
and detail
arguments specified
for assertions will be evaluated, but no assertions will be emitted, or otherwise processed.
In this case (using feature flag no-antithesis-sdk
), the assert macros will expand to
nothing (other than the evaluation of condition
and details
)
Dependencies
~1.1–7MB
~42K SLoC