Skip to contentWeb3 Security
Features
Visual Test Explorer
- Tree View Interface: Browse tests organized by contract
- Real-time Status: See test status with color-coded icons ( passed, failed, running, pending)
- Gas Usage Tracking: Monitor gas consumption for each test execution
- Execution Time: Track how long each test takes to run
Test Execution
- Run All Tests: Execute your entire test suite with one click
- Individual Test Runs: Run specific tests directly from the explorer
- Real-time Updates: Watch test status change as they execute
- Detailed Output: Comprehensive test results in the output channel
Rich Information Display
- Gas Metrics: See exact gas usage for optimization insights
- Error Details: View detailed error messages and stack traces
- Duration Tracking: Monitor test performance over time
- Tooltips: Hover for quick test information
Smart Integration
- Auto-discovery: Automatically finds and parses Foundry test files
- File Watching: Refreshes tests when Solidity files change
- Project Detection: Only activates in Foundry projects (foundry.toml/forge.toml)
- JSON Parsing: Processes Foundry's JSON output for accurate results