test

Attribute Macro test 

Source
#[test]
Expand description

Represents a procedural attribute macro that does the heavy lifting of charted_testkit for you. This macro also manages:

  • setup functions, where a fn(&TestContext) -> Result<(), Box<dyn ::std::error::Error>> is called on each test to set it up
  • teardown functions, where a fn(&TestContext) -> Result<(), Box<dyn ::std::error::Error>> is called when a test is done being executed