Expand description
§foundry-test-utils
Internal Foundry testing utilities.
Re-exports§
pub use util::TestCommand;
pub use util::TestProject;
pub use foundry_compilers;
pub use snapbox;
Modules§
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
forgetest
but returns an already initialized project workspace (forge init
) - str
- Declare an expected value from within Rust source
Structs§
- Filter
- Script
Tester - A helper struct to test forge script scenarios
Enums§
- Script
Outcome - Various
forge
script results
Functions§
- init_
tracing - Initializes tracing for tests.