Skip to main content

Module test

Module test 

Source

Modulesยง

evm_profile_server ๐Ÿ”’
Local HTTP server for serving EVM profiles to speedscope.app.
filter ๐Ÿ”’
summary ๐Ÿ”’

Macrosยง

dict ๐Ÿ”’
Builds a figment dictionary from key => Option<value> pairs, skipping unset values.
dispatch_network ๐Ÿ”’
Evaluates $body with $fen bound to the concrete network type selected by $evm_opts.

Structsยง

CampaignArgs
Shared campaign arguments for forge fuzz run.
CompiledTestProject ๐Ÿ”’
FilterArgs
The filter to use during testing.
FuzzMinimizeReplayPass ๐Ÿ”’
FuzzMinimizeReplaySession ๐Ÿ”’
Compiled runners for every network pass of a forge fuzz minimization command.
JunitOutput ๐Ÿ”’
Helper for assembling JUnit output strings.
LastRunFailures ๐Ÿ”’
NetworkPass ๐Ÿ”’
Config and EVM options for one network pass of a multi-network run.
ProjectPathsAwareFilter
A filter that combines all command line arguments and the paths of the current projects
RerunFailure
A failed test persisted for forge test --rerun.
TestArgs
CLI arguments for forge test.
TestExecutionOptions ๐Ÿ”’

Enumsยง

EvmProfileFormat
Output format for EVM execution profiles.
ShowmapDomainArg
CLI mirror of foundry_evm::executors::ShowmapDomain.
TraceOutputKind ๐Ÿ”’

Constantsยง

AUTO_CORPUS_DIR ๐Ÿ”’
AUTO_FUZZ_FAILURE_DIR ๐Ÿ”’
DEBUGGER_MATCHING_TESTS_DISPLAY_LIMIT ๐Ÿ”’

Functionsยง

add_junit_test_case ๐Ÿ”’
Adds a single JUnit test case to the suite.
add_junit_test_cases ๐Ÿ”’
Adds JUnit test cases for a test result.
apply_mutation_compiler_overrides ๐Ÿ”’
collect_matching_debug_tests ๐Ÿ”’
count_fuzz_minimize_targets ๐Ÿ”’
enabled_flags ๐Ÿ”’
Returns the names of the enabled flags.
ensure_mutation_workspace_safe ๐Ÿ”’
Bails if mutation testing could corrupt the real dependency trees.
format_matching_debug_tests ๐Ÿ”’
fuzz_minimize_pass ๐Ÿ”’
is_runnable_test_contract ๐Ÿ”’
Returns whether an ABI-discovered contract could be included in the test runner.
junit_xml_report ๐Ÿ”’
Generate test report in JUnit XML report format.
last_run_failures ๐Ÿ”’
Load persisted filter (with last test run failures) from file.
list_from_output ๐Ÿ”’
Lists all matching tests without building a runner.
matching_fuzz_replay_targets ๐Ÿ”’
matching_test_contracts ๐Ÿ”’
Returns the deployable contracts in output that match filter, with project-relative ids.
merge_outcomes ๐Ÿ”’
Merges other into base by extending suite results.
merge_suite_results ๐Ÿ”’
network_passes ๐Ÿ”’
Splits a run into the default network pass and one override pass per annotated network.
parse_opcode ๐Ÿ”’
path_string ๐Ÿ”’
Renders an optional path for the figment provider.
persist_run_failures ๐Ÿ”’
Replace the last run failures, clearing the record when the run succeeds.
prepare_results_for_json ๐Ÿ”’
rerun_filter_matches ๐Ÿ”’
Returns the rerun keys of a failed test: its failed invariant predicates, or the test name when no predicate failed.
validate_showmap_config ๐Ÿ”’

Type Aliasesยง

FuzzMinimizeReplay ๐Ÿ”’