menu
destack:test
import destack:test
Classes
RegistryTest module registry.
Structs
ArtifactDurable output produced by a test run.CaseRegistered test case.CaseDefinitionTest case registration payload.ExpectA value assertion chain.IssueStructured issue found during a test run.ManifestCollected test module manifest.ReplayReproducible test run input.ReplayInputOne recorded replay input.RunOne execution of a test case or suite.SnapshotRecorded snapshot value.SnapshotChangeSnapshot comparison change.SnapshotOptionsSnapshot assertion options.SuiteRegistered test suite.SuiteDefinitionTest suite registration payload.
Enums
ArtifactKindTest artifact kind.CaseKindTest case or suite execution kind.ConcurrencyTest scheduler concurrency mode.IsolationTest runtime isolation mode.IssueKindTest issue kind.OutcomeTest run outcome.ReplayKindReplay source kind.SnapshotModeSnapshot update mode.
Newtypes
ArtifactIdStable test artifact identifier.CaseIdStable test case identifier.ReplayIdStable replay identifier.ResourceKeyNamed test resource key.RunIdStable test run identifier.SuiteIdStable test suite identifier.
Newtype interfaces
CaseContextTest case callback context.ContextTest callback context.OutputTest output sink.SuiteContextTest suite callback context.
Type aliases
BodyTest callback.BodyResultTest callback result.CaseArgumentTest registration argument after the test name.HookBodyTest hook callback.OptionsTest registration options.RunTargetTest run target.ScheduleTest scheduling policy.SuiteArgumentSuite registration argument after the suite name.SuiteBodyTest suite registration callback.
Functions
afterAllRegister cleanup after all tests in the current suite.afterEachRegister cleanup after each test in the current suite.beforeAllRegister setup before all tests in the current suite.beforeEachRegister setup before each test in the current suite.caseRegister one test case.caseOnlyRegister one focused test.caseSkipRegister one skipped test.currentRegistryReturn the active module registry.describeRegister one test suite.describeOnlyRegister one focused test suite.describeSkipRegister one skipped test suite.expectCreate an assertion chain for value.itRegister one test.itOnlyRegister one focused test.itSkipRegister one skipped test.registerCaseRegister one test case.registerSuiteRegister one test suite.runsReturn the recorded runs for the current session.suiteRegister one test suite.suiteOnlyRegister one focused test suite.suiteSkipRegister one skipped test suite.testRegister one test.testOnlyRegister one focused test.testSkipRegister one skipped test.