#fuzzing #quality #antithesis

antithesis_sdk

Rust SDK for the Antithesis autonomous software testing platform

4 releases

0.2.1 Jul 11, 2024
0.2.0 Jul 11, 2024
0.1.6 May 14, 2024

#159 in Testing

Download history 29/week @ 2024-06-10 8/week @ 2024-06-17 211/week @ 2024-07-08 7/week @ 2024-07-15 19/week @ 2024-07-22 22/week @ 2024-07-29 21/week @ 2024-08-05 44/week @ 2024-08-12 21/week @ 2024-08-19 9/week @ 2024-08-26 28/week @ 2024-09-02 39/week @ 2024-09-09 32/week @ 2024-09-16 68/week @ 2024-09-23

168 downloads per month

MIT license

54KB
962 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 disable default-features for this crate.

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, the assert macros will expand to nothing (other than the evaluation of condition and details).

Dependencies

~1–6.5MB
~41K SLoC