소개
This skill provides comprehensive guidance for blockchain developers to build robust test suites for smart contracts, ensuring security and efficiency before deployment. It covers the full testing lifecycle, from basic unit tests and fixtures to advanced patterns like mainnet forking, impersonating whale accounts, and property-based fuzzing. By integrating best practices for both JavaScript-based (Hardhat) and Solidity-native (Foundry) environments, this skill enables developers to validate DeFi protocols, perform gas optimization analysis, and automate contract verification on Etherscan.