Expand description
§Requirements tracing macro
use needy::requirements;
// The macro is used to annotate functions, usually tests, which test a certain requirement id.
#[requirements(REQ_001)]
#[test]
fn test_1() {}
// You can pass multiple requirements like this ...
#[requirements(REQ_001, REQ_002)]
#[test]
fn test_2() {}
// ... or like this.
#[requirements(REQ_001)]
#[requirements(REQ_002)]
#[test]
fn test_3() {}