技能档案

Smart Contract Testing: Foundry, Hardhat

Contract testing: Foundry, Hardhat, fuzzing, fork testing, coverage

Blockchain & Web3 Smart Contracts

角色数

2

包含此技能的角色

级别数

5

结构化成长路径

必要要求

10

其余 0 个可选

领域

Blockchain & Web3

skills.group

Smart Contracts

最后更新

2026/3/17

如何使用

选择当前级别并对比期望。下方卡片显示晋升所需掌握的内容。

各级别期望

表格展示从初级到首席的技能深度变化。点击行查看详情。

角色 必要性 描述
Blockchain Developer 必要 Writes unit tests for contracts via Hardhat or Foundry. Tests basic flows: deploy, mint, transfer, revert. Uses console.log in Hardhat and forge test for debugging.
Smart Contract Developer 必要 Writes unit tests using Hardhat or Foundry. Tests deploy, mint, transfer, and revert cases. Uses fixtures for repeatable tests and achieves 75%+ coverage on new contracts.
角色 必要性 描述
Blockchain Developer 必要 Writes integration and fork tests for contract interaction with DeFi protocols. Uses Foundry fuzz testing to find edge cases. Tests upgrade paths and cross-contract calls.
Smart Contract Developer 必要 Writes fork tests, fuzz tests, and integration tests for complex DeFi flows. Tests edge cases with Foundry cheatcodes. Achieves 95%+ coverage with meaningful test scenarios.
角色 必要性 描述
Blockchain Developer 必要 Designs testing infrastructure for the organization: invariant testing, stateful fuzzing, formal specs. Configures CI/CD pipeline with automated security testing and coverage gates.
Smart Contract Developer 必要 Designs test strategy: invariant testing with Echidna/Medusa, stateful fuzzing, differential testing. Writes formal specifications and integrates into CI. Implements mutation testing.
角色 必要性 描述
Blockchain Developer 必要 Defines testing methodology and standards for the blockchain organization. Establishes coverage, fuzz testing, and formal verification requirements. Coordinates testing infrastructure.
Smart Contract Developer 必要 Defines testing methodology for the organization. Establishes CI/CD pipeline with mutation testing, coverage gates, and invariant checks. Coordinates test infrastructure for 10+ projects.
角色 必要性 描述
Blockchain Developer 必要 Defines enterprise testing strategy for smart contracts. Researches formal verification (Certora, K-framework) and mutation testing. Publishes testing methodologies and tools.
Smart Contract Developer 必要 Defines enterprise testing strategy for smart contracts. Researches automated test generation and formal verification automation. Publishes testing methodology and contributes to testing tools.

社区

👁 关注 ✏️ 建议修改 登录以建议修改
📋 提案
暂无提案 Smart Contract Testing: Foundry, Hardhat
正在加载评论...