rtfeldman/node-test-runner

Debug.log output prints to STDOUT instead of STDERR

Open

#365 aberto em 13 de jun. de 2019

Ver no GitHub
 (4 comments) (0 reactions) (1 assignee)JavaScript (82 forks)github user discovery
bughelp wanted

Métricas do repositório

Stars
 (140 stars)
Métricas de merge de PR
 (Mesclagem média 22d 16h) (6 fundiu PRs em 30d)

Description

This is particularly a problem with the JUnit formatting as it means any Debug.log is included in the head of the JUnit output, making it invalid xml.

Steps to reproduce; write a test case with Debug.log, and invoke elm-test with JUnit reporter redirected to an xml file.

If Debug.log went to STDERR it would not be redirected to the file. Alternatively allow Junit reporter to specify a file and only output the test results to the file.

Guia do colaborador