rtfeldman/node-test-runner

Debug.log output prints to STDOUT instead of STDERR

開放

#365 建立於 2019年6月13日

 (4 則留言) (0 個反應) (1 位負責人)JavaScript (83 個分叉)github user discovery
bughelp wanted

倉庫指標

星標
 (140 顆星)
PR 合併指標
 (平均合併 22天 16小時) (30 天內合併 6 個 PR)

描述

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.

貢獻者指南