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 πŸ”’
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 πŸ”’
Persist filter with last test run failures (only if there’s any failure).
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 πŸ”’