Skip to content

Parameterized Rust tests with procedural code generation

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

slowli/test-casing

Repository files navigation

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

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages