rtfeldman/node-test-runner

Debug.log output prints to STDOUT instead of STDERR

Open

#365 aperta il 13 giu 2019

Vedi su GitHub
 (4 commenti) (0 reazioni) (1 assegnatario)JavaScript (82 fork)github user discovery
bughelp wanted

Metriche repository

Star
 (140 star)
Metriche merge PR
 (Merge medio 22g 16h) (6 PR mergiate in 30 g)

Descrizione

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.

Guida contributor