[package] name = "datatest" version = "0.8.0" authors = ["Ivan Dubrov ", "Giovanny Gutierrez "] edition = "2018" repository = "https://github.com/commure/datatest" license = "MIT/Apache-2.0" readme = "README.md" description = """ Data-driven tests in Rust """ [[test]] name = "datatest_stable" harness = false [dependencies] datatest-derive = { path = "datatest-derive", version = "= 0.8.0"} regex = "1.9.5" walkdir = "2.4.0" serde = "1.0.188" serde_yaml = "0.9.21" yaml-rust = "0.4.5" ctor = "0.2.5" region = { version = "3.0.0", optional = true } [dev-dependencies] serde = { version = "1.0.188", features = ["derive"] } [build-dependencies] version_check = "0.9.3" [workspace] members = [ "datatest-derive" ] [features] # Use `#[test_case]`-based test registration. If this is disabled, datatest will use the `ctor` crate to create a # global list of all tests. # # Enabled by default, only takes effect on nightly and only works when custom_test_frameworks feature is enabled. test_case_registration = [] # Use very, very, very sketchy way of intercepting a test runner on a stable Rust. Without that feature, there are two # options: # 1. use `#![test_runner(datatest::runner)]` (nightly-only) # 2. use `harness = false` in `Cargo.toml` with `datatest::harness!()` macro; however, in this case care must be taken # to use `#[datatest::test]` instead of regular `#[test]` or otherwise tests will be silently ignored. unsafe_test_runner = ["region"] # Make this crate useable on stable Rust channel. Uses forbidden technique to allow usage of this crate on a stable # Rust compiler. This, however, does not bring any guarantees above "nightly" -- this crate can break at any time. subvert_stable_guarantees = [] default = ["test_case_registration"]