Crate iceoryx2_bb_conformance_test_macros

Crate iceoryx2_bb_conformance_test_macros 

Source
Expand description

Attribute macro for defining a module containing conformance tests.

This macro processes a module, collects all functions marked with #[conformance_test], and generates a new declarative macro named after the module. The generated macro, when invoked, creates a test module with a test for each conformance function, instantiated for each provided type.

Have a look at the How It Works section of the how-to-write-conformance-tests.md document for more details.

Attribute Macrosยง

conformance_test
Attribute macro for marking functions as conformance tests.
conformance_test_module
Attribute macro for defining a conformance test module.