lcov reporter is not working
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.9k
- Forks
- 359
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I'm trying to use the lvoc reporter on my project, but there's just no output from nodeunit.
If I invoke nodeunit test only:
```
henvic at henvic-mp in ~/projects/liferay/grunt-cli-config (master●●)
$ nodeunit test
config_options_test
✔ config_options - normalize
✔ config_options - parse
✔ config_options - any
✔ config_options - boolean
✔ config_options - negative
OK: 5 assertions (140ms)
```
If I try to invoke with the lcov reporter:
```
henvic at henvic-mp in ~/projects/liferay/grunt-cli-config (master●●)
$ nodeunit test --reporter lcov
```
If I try to invoke with the html reporter:
```
henvic at henvic-mp in ~/projects/liferay/grunt-cli-config (master●●)
$ nodeunit test --reporter=html
body { font: 12px Helvetica Neue }
h2 { margin:0 ; padding:0 }
pre { font: 11px Andale Mono; margin-left: 1em; padding-left: 1em; margin-top:0; font-size:smaller;}
.assertion_message { margin-left: 1em; }
ol { list-style: none; margin-left: 1em; padding-left: 1em; text-indent: -1em;}
ol li.pass:before { content: "\2714 \0020"; }
ol li.fail:before { content: "\2716 \0020"; }
config_options_test
- config_options - normalize
- config_options - parse
- config_options - any
- config_options - boolean
- config_options - negative
OK: 5 assertions (151ms)
```
nodeunit version 0.8.6, node.js version 0.10.26.
Repo https://github.com/henvic/grunt-cli-config
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Reproduzieren Sie die gemeldeten Befehle mit nodeunit 0.8.6 auf Node.js 0.10.26, und vergleichen Sie die default- und html-Reporter mit lcov. Verfolgen Sie die Reporterauswahl der nodeunit CLI bis zum Einstiegspunkt des lcov-Reporters, und überprüfen Sie, dass der lcov-Aufruf Coverage-Ausgabe erzeugt, anstatt still zu beenden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- cli, testing
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100