solidity-coverage
Code coverage tool for Solidity smart contracts to measure test completeness.
Testing npm ISC
Used in agent projects
41
0.3% of 12,697 public repos built with AI coding agents
Rank in testing
#21 of 40
by use in those projects
Downloads
210K
npm, last 7 days, solidity-coverage
GitHub stars
1,002
last push Dec 11, 2025
How solidity-coverage is used
solidity-coverage is a dependency in 41 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #21 of 40 in testing. The most used alternative there is Vitest. Projects that use it most often also use Hardhat (95.1%), hardhat-gas-reporter (92.7%), Hardhat Network Helpers (87.8%).
Often used with solidity-coverage
| Hardhat | 95.1% of solidity-coverage projects · 54.2× more than average |
|---|---|
| hardhat-gas-reporter | 92.7% of solidity-coverage projects · 287.0× more than average |
| Hardhat Network Helpers | 87.8% of solidity-coverage projects · 242.4× more than average |
| Hardhat Verify | 82.9% of solidity-coverage projects · 224.0× more than average |
| OpenZeppelin Contracts | 82.9% of solidity-coverage projects · 63.4× more than average |
| ethers.js | 82.9% of solidity-coverage projects · 18.3× more than average |
| Hardhat Toolbox | 78.0% of solidity-coverage projects · 108.9× more than average |
| @typechain/hardhat | 78.0% of solidity-coverage projects · 275.3× more than average |
By coding agent
| Claude Code | 0.1% of projects set up for it |
|---|
Share of public repos configured for each agent that list solidity-coverage as a dependency.
Install
| Package | npm install solidity-coverage |
|---|---|
| Main stacks | TypeScript / JavaScript (23), Next.js (16), PHP (1), Rust (1) |
| Example projects | zeta-chain/toolkit, Cyfrin/2024-07-biconomy |
Alternatives to solidity-coverage
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vitest npm Next-generation testing framework powered by Vite with native ESM. |
1,549 (12.2%) | 123M | 17.2K | MIT |
| Playwright (JavaScript) npm Cross-browser automation library for end-to-end testing. |
1,117 (8.8%) | 74.2M | 97.4K | Apache-2.0 |
| Testing Library npm Testing utilities for React encouraging testing user behavior. |
915 (7.2%) | 68.7M | 19.7K | MIT |
| Jest npm Delightful JavaScript testing framework with minimal configuration. |
702 (5.5%) | 46.3M | 45.6K | MIT |
| jsdom npm JavaScript implementation of web standards for testing DOM interactions. |
681 (5.4%) | 112M | 21.7K | MIT |
| pytest pypi Simple, powerful Python testing framework with fixtures and plugins. |
330 (2.6%) | 196M | 14.6K | — |
| Chai npm BDD/TDD assertion library for Node.js and browsers with expressive syntax. |
305 (2.4%) | 14M | 8,265 | MIT |
| Mocha npm Feature-rich JavaScript test framework for Node.js and browsers. |
281 (2.2%) | 12.6M | 22.9K | MIT |