We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07b31e3 commit fcc9983Copy full SHA for fcc9983
1 file changed
test-generator/src/lib.rs
@@ -61,6 +61,15 @@
61
//!
62
//! test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
63
//! ```
64
+//! ## Annotating tests to be ignored
65
+//! Sometimes tests should not be run by default, for example if they take a very
66
+//! long time to run. Such tests would usually be annotated with #[ignore].
67
+//! The `test_resources` macro allows to do this by adding the `ignore` keyword
68
+//! after the resource:
69
+//! ```ignore
70
+//! #[test_resources("res/*/input.txt", ignore)]
71
+//! ```
72
+//!
73
//! # Example usage `bench`:
74
75
//! The `bench` functionality requires the nightly release of the Rust-compiler.
0 commit comments