Expand description
ยงfoundry-test-utils
Internal Foundry testing utilities.
Re-exportsยง
pub use foundry_compilers;pub use snapbox;
Modulesยง
- ext ๐
- fd_lock
- File locking utilities.
- filter ๐
- macros ๐
- prj ๐
- rpc
- RPC API keys utilities.
- script ๐
- ui_
runner - util
Macrosยง
- assert_
data_ eq - Check if a value is the same as an expected value
- casttest
- file
- Declare an expected value for an assert from a file
- forgesoldeer
- Setup forge soldeer
- forgetest
- A macro to generate a new integration test case
- forgetest_
async - forgetest_
init - Same as
forgetestbut returns an already initialized project workspace (forge init --empty). - str
- Declare an expected value from within Rust source
- test_
debug - test_
trace
Structsยง
- ExtTester
- External test builder
- Filter
- Script
Tester - A helper struct to test forge script scenarios
- Test
Command - A simple wrapper around a Command with some conveniences.
- Test
Project TestProjectrepresents a temporary project to run tests against.
Enumsยง
- Script
Outcome - Various
forgescript results
Functionsยง
- env_
filter ๐ - init_
tracing - Initializes tracing for tests.
- test_
debug - test_
trace