Skip to main content

Module result

Module result 

Source
Expand description

Test outcomes.

Macrosยง

extend ๐Ÿ”’

Structsยง

InvariantPredicateResult
Pass/fail status for an invariant predicate evaluated inside a contract-level campaign.
SuiteResult
A set of test results for a single test suite, which is all the tests in a single contract.
SuiteTestResult
The result of a single test in a test suite.
TestOutcome
The aggregated result of a test run.
TestResult
The result of an executed test.
TestSetup
The result of a test setup.

Enumsยง

InvariantFailure
A failure surfaced by an invariant test campaign โ€” either a broken invariant_* predicate (Self::Predicate) or a handler-side assertion bug (Self::Handler).
TestKind
Various types of tests
TestKindReport
Data report by a test.
TestStatus
The status of a test.

Constantsยง

INVARIANT_CAMPAIGN_FALLBACK_NAME ๐Ÿ”’

Functionsยง

default_invariant_workers ๐Ÿ”’
invariant_campaign_display_name ๐Ÿ”’
test_failure_exit_code ๐Ÿ”’
Process exit code emitted when at least one test failed.