web3-testing
web3 testing
What it does
- Writing unit tests for smart contracts
- Setting up integration test suites
- Performing gas optimization testing
- Fuzzing for edge cases
- Forking mainnet for realistic testing
- Automating test coverage reporting
- Verifying contracts on Etherscan
Requirements & configuration
- require("@nomicfoundation/hardhat-toolbox");
- require("@nomiclabs/hardhat-etherscan");
- require("hardhat-gas-reporter");
- require("solidity-coverage");
- const { expect } = require("chai");
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
web3-testing FAQ
What does the web3-testing skill do?
Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols. Writing unit tests for smart contracts Setting up integration test suites
What does web3-testing require?
require("@nomicfoundation/hardhat-toolbox"); require("@nomiclabs/hardhat-etherscan"); require("hardhat-gas-reporter"); require("solidity-coverage"); const { expect } = require("chai");
How do I install web3-testing?
Run: npx -y skills add https://github.com/wshobson/agents --skill web3-testing --agent claude-code — the source lives at github.com/wshobson/agents.
Maintain web3-testing?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/wshobson-agents-web3-testing?ref=badge) npx agentictools info skills/wshobson-agents-web3-testing The second line is the CLI lookup for this page — handy in READMEs and docs.