Expand description
Forge is a fast and flexible Ethereum testing framework.
Re-exportsยง
pub(crate) use foundry_wallets as _;๐aws-kmsorgcp-kmsorturnkeypub use multi_runner::MultiContractRunner;pub use multi_runner::MultiContractRunnerBuilder;
Modulesยง
- args
- brutalizer
- cmd
forgesubcommands.- core
- foundry-evm-core
- coverage
- Coverage reports.
- executors
- EVM executor abstractions, which can execute calls.
- fuzz
- foundry-evm-fuzz
- gas_
report - Gas reports.
- hardforks
- EVM hardfork definitions for Foundry.
- inspectors
- EVM inspectors.
- multi_
runner - Forge test runner for multiple contracts.
- mutation
- opts
- progress ๐
- Progress bars for the test run.
- result
- Test outcomes.
- runner ๐
- The Forge test runner.
- sandbox ๐
- Temporary copies of a project where Forge builds and runs generated tests.
- symbolic_
minimizer ๐ - symbolic_
regression ๐ - traces
- foundry-evm-traces
- workspace
- Shared utilities for creating isolated project workspaces.
Macrosยง
- call_
inspectors - Helper macro to call the same method on multiple inspectors without resorting to dynamic dispatch.
Structsยง
- Contract
Runner - A type that executes all tests of a contract
- EvmEnv
- The spec, runtime version and block an EVM is built with.
- Lockfile
- A lockfile handler that keeps track of the dependencies and their current state.
Enumsยง
- DepIdentifier
- Identifies whether a dependency (submodule) is referenced by a branch, tag or rev (commit hash).
Constantsยง
- EVM_
THREAD_ STACK_ SIZE - Stack size of the threads that run EVM executions.
- FOUNDRY_
LOCK
Traitsยง
- Test
Filter - Test filter.
Type Aliasesยง
- DepMap
- A type alias for a HashMap of dependencies keyed by relative path to the submodule dir.