概要
This skill provides a comprehensive framework for testing Solidity smart contracts by integrating industry-standard tools like Hardhat and Foundry. It streamlines the creation of robust test suites, implementing unit and integration patterns, performing mainnet forking for realistic environment simulations, and utilizing advanced techniques like fuzzing and gas optimization. Whether you are validating DeFi protocols or ensuring contract security before deployment, this skill guides you through the entire verification lifecycle, including Etherscan verification and CI/CD integration.