rtfeldman/node-test-runner

Debug.log output prints to STDOUT instead of STDERR

Open

#365 geöffnet am 13. Juni 2019

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (82 Forks)github user discovery
bughelp wanted

Repository-Metriken

Stars
 (140 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 22T 16h) (6 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide