rtfeldman/node-test-runner

Debug.log output prints to STDOUT instead of STDERR

Open

#365 ouverte le 13 juin 2019

Voir sur GitHub
 (4 commentaires) (0 réactions) (1 assigné)JavaScript (82 forks)github user discovery
bughelp wanted

Métriques du dépôt

Stars
 (140 stars)
Métriques de merge PR
 (Merge moyen 22j 16h) (6 PRs mergées en 30 j)

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.

Guide contributeur