Skip to main content

Crate sourcetrait_testing

Crate sourcetrait_testing 

Source

Modules§

prelude

Macros§

group
Constructs a TestGroup and wraps it in Group
harness_test
module
Constructs a TestModule and wraps it inside a lazy-locked Module
module_with
test
Constructs a Test using with a parent TestModule in scope named, “TESTING”.
test_as
Constructs a Test using a custom ident for its parent TestModule.

Structs§

Group
Lazy-locked wrapper for TestGroup
GroupBuilder
Constructs a TestGroup
Module
Lazy-locked wrapper for TestModule.
ModuleBuilder
Builds a new TestModule
ModuleBuilderWith
ModuleWith
Lazy-locked wrapper for [TestHarnessModule].
Namepath
Describes the normalized namepath of a TestModule, TestGroup, or Test.
RawNamepath
Retains the original elements used to construct a Namepath
StepState
Represents the internal state of a Stepper
Stepper
Sequentially runs through a series of test steps.
StepperBuilder
Builder for Stepper
Test
Configuraiton for a single unit or integration test.
TestBuilder
Constructs a Test
TestBuilderWith
TestGroup
Standalone top-level testing group.
TestModule
Represents a Rust module that contains tests.
TestModuleWith
TestWith

Enums§

Testable
TestingKind
The type of testing model
UseCase
The type of testing being performed

Traits§

TestOutputTrait
Testing
Common to all testing models: TestModule, TestGroup, and Test.