test-casing

Parameterized Rust tests with procedural code generation

APACHE-2.0 License

Downloads
159.1K
Stars
2

Parameterized Rust Tests & Test Decorators

test-casing is a minimalistic Rust framework for generating tests for a given set of test cases and decorating them to add retries, timeouts, sequential test processing etc. In other words, the framework implements:

  • Parameterized tests of reasonably low cardinality for the standard Rust test runner
  • Fully code-based, composable and extensible test decorators.

Contents

  • lib: The main crate
  • macro: Proc macros supporting the main crate.

Contributing

All contributions are welcome! See the contributing guide to help you get involved.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in test-casing by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.