sui_proc_macros

Attribute Macro sim_test

Source
#[sim_test]
Expand description

The sim_test macro will invoke #[msim::test] if the simulator config var is enabled.

Otherwise, it will emit an ignored test - if forcibly run, the ignored test will panic.

This macro must be used in order to pass any simulator-specific arguments, such as check_determinism, which is not understood by tokio.