caolan / caolan/nodeunit

lcov reporter is not working

Abierto
#258 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
1.9k
Forks
359
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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



  1. config_options - normalize

  2. config_options - parse

  3. config_options - any

  4. config_options - boolean

  5. 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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Reproduce los comandos indicados con nodeunit 0.8.6 en Node.js 0.10.26, comparando los reporteros default y html con lcov. Rastrea la selección de reportero de la CLI de nodeunit hasta el punto de entrada del reportero lcov y verifica que la invocación de lcov produzca salida de cobertura en lugar de finalizar silenciosamente.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
cli, testing
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.