rust_test_framework
A data-driven testing framework for Rust.
Features
- Data-Driven Testing (DDT): Run the same test logic with multiple inputs.
- Procedural Macros: Easy-to-use attributes for defining test cases.
- Clean Output: Clear results for individual test cases.
Usage
This project is currently in alpha.
Add this to your Cargo.toml:
[]
= "0.1.1-alpha.1"
Example usage:
use test_case_source;
use SourceType;
use Deserialize;
// This will generate a test case for each entry in `tests/data.json`
// if it's a list or inject it as a single entry if it's an object.
License
Licensed under the Apache License, Version 2.0.