Crate forc_test

Source

Modules§

execute
setup

Structs§

ContractToTest
A built contract ready for test execution.
DecodedLog
A LogData decoded into a human readable format with its type information.
ScriptToTest
A built script ready for test execution.
TestCount
TestDetails
TestFilter
The filter to be used to only run matching tests.
TestOpts
The set of options provided to the test function.
TestPrintOpts
The set of options provided for controlling logs printed for each test.
TestResult
The result of executing a single test within a single package.
TestedPackage
The result of testing a specific package.

Enums§

BuiltTests
A package or a workspace that has been built, ready for test execution.
PackageTests
A built package ready for test execution.
PackageWithDeploymentToTest
A built package that requires deployment before test execution.
TestRunnerCount
Used to control test runner count for forc-test. Number of runners to use can be specified using Manual or can be left forc-test to decide by using Auto.
Tested
The result of a forc test invocation.

Functions§

build
First builds the package or workspace, ready for execution.
decode_log_data