web3-testing-v2 - Test Web3 smart contracts with Hardhat and Foundry
Tests Web3 smart contracts with Hardhat, Foundry, and advanced testing patterns, including integration, gas, fuzzing, and coverage checks.
Tags
Updated: 2026-10-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write contract unit tests
- Set up integration suites
- Run gas optimization tests
- Fuzz edge cases
- Verify events and access control
- Check reentrancy vulnerabilities
- Measure test coverage
- Validate test outcomes
Inputs
- Smart contract code
- Testing requirements
- Project configuration
- RPC endpoints
- Network credentials
- Upstream workflow files
- Provenance files
Outputs
- Test results
- Coverage reports
- Gas usage reports
- Verification findings
- Actionable testing steps
Requirements
- Hardhat or Foundry environment
- Access to required RPC endpoints
- Required network credentials
- Testing tool support
