caolan / caolan/nodeunit

lcov report has bad metrics when using sandbox

Aperta
#274 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
1.9k
Fork
359
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I tried producing a code coverage report using the lcov reporter. It works as long as I don't mess with the sandbox util.

I'm using the sandbox utility to replace 'require' and mock out modules used by the module under test.

I've been working really hard at trying different code coverage tools and different ways to mock.

Should I be mocking differently or is there a way we could fix the code coverage instrumentation?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.