Crate test_harness

source ·

Structs

Traits

  • A TestHarness is a type that provides an interface to test cases for interacting with functionality under test. For example, a WidgetHarness might provide controls for interacting with and measuring a Widget, allowing us to easily write tests for Widget functionality.

Functions

Attribute Macros

  • Used to run tests that require TestHarness types as inputs on a singlethreaded executor. This attribute should be used instead of #[test], not in addition to it.