Show HN: MC/DC coverage so coding agents could work overnight

Measure coverage with npx supercov, find the next useful gap, and let your coding agent keep writing focused tests while useful gaps remain.
2 points by Nedomas 50 days ago supercov.com 0 comments
Summary not yet generated for this article.

Original Text

Hello HN!

Code just became cheaper with AI but review and verification is as hard as it was. Tests are great, but current AI slop needs much more exhaustive testing.

I built a test coverage tool for coding agents so they could work in a loop and keep writing tests where it makes sense.

Here’s Supercov:

- Wraps any JavaScript/TypeScript/Rust test suite (npx supercov -- npm test)

- Provides deepest MC/DC code coverage with max perf (written in Rust)

- Free and open source

Easiest way is just to give your agent a prompt: Measure coverage with npx supercov and write one test.

Goal is building the deepest code coverage suite for coding agents thats works automagically in any language and any test suite. I feel code verification is the missing piece for software factories to actually work.

I’d particularly be interested in feedback on compatibility and if your agent ran into any problems.

Contributions and bug reports are very welcome: https://github.com/supercorp-ai/supercov

Comments (0 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open