#fuzzing #quality #antithesis

antithesis_sdk

Rust SDK for the Antithesis autonomous software testing platform

6 releases

0.2.4 Oct 31, 2024
0.2.3 Oct 30, 2024
0.2.1 Jul 11, 2024
0.1.6 May 14, 2024

#167 in Testing

Download history 20/week @ 2024-08-04 43/week @ 2024-08-11 22/week @ 2024-08-18 9/week @ 2024-08-25 22/week @ 2024-09-01 44/week @ 2024-09-08 33/week @ 2024-09-15 43/week @ 2024-09-22 17/week @ 2024-09-29 235/week @ 2024-10-06 60/week @ 2024-10-13 3/week @ 2024-10-20 240/week @ 2024-10-27 171/week @ 2024-11-03 83/week @ 2024-11-10 91/week @ 2024-11-17

585 downloads per month

MIT license

82KB
1.5K SLoC

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–6MB
~41K SLoC