slowli / test-casing

Parameterized Rust tests with procedural code generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parameterized Rust Tests & Test Decorators

Build Status License: MIT OR Apache-2.0

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.

About

Parameterized Rust tests with procedural code generation

License:Apache License 2.0


Languages

Language:Rust 100.0%