TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Nyc – the coverage tool that works with every Node.js testing framework

2 pointsby BenjaminCoeabout 10 years ago

1 comment

BenjaminCoeabout 10 years ago
My coworker Isaac and I have been hacking on this nifty little tool for a few weeks now.<p>The main problem that we had to overcome was that test frameworks like node-tap (<a href="https:&#x2F;&#x2F;github.com&#x2F;isaacs&#x2F;node-tap" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;isaacs&#x2F;node-tap</a>) spawn many subprocesses.<p>nyc overrides child_process.spawn, collects coverage reports for all child processes, and pulls a coverage report back together again.