You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometime when our test scripts print out something, it will be print to stdout and mixed with reporter output. Example as below when i use xunit reporter and the test script print out something.
bootstrap application
init executor id 87d5137c-6db4-5976-7d97-220eca3c210d
<testsuite name="Mocha Tests" tests="9" failures="1" errors="1" skipped="0" timestamp="Tue, 19 May 2015 17:43:01 GMT" time="0.344">
<testcase classname="DrilldownBuidler" name="can parse relationship query" time="0.002"/>
<testcase classname="DrilldownBuidler" name="can parse distribution query" time="0.001"/>
<testcase classname="DrilldownBuidler" name="can generate query hint for distribution query" time="0.001"/>
<testcase classname="DrilldownBuidler" name="can generate query hint for relationship query" time="0.001"/>
<testcase classname="DrilldownBuidler" name="can generate query hint for relationship query with for each" time="0"/>
<testcase classname="Document" name="can create new document" time="0.007"><failure><![CDATA[Author is required [400]
undefined]]></failure></testcase>
<testcase classname="Kernel" name="can run Python code" time="0.064"/>
<testcase classname="Kernel" name="can run R code" time="0.049"/>
<testcase classname="PerformanceTracker" name="can get total duration" time="0.206"/>
</testsuite>
It's hard to consume the reporter output for CI system. I think there are two possible solutions
Add a flag (--no-console) to totally disable output printing
Add a flag (--reporter-output) for separately saving the reporter output to a file
The text was updated successfully, but these errors were encountered:
Sometime when our test scripts print out something, it will be print to stdout and mixed with reporter output. Example as below when i use xunit reporter and the test script print out something.
It's hard to consume the reporter output for CI system. I think there are two possible solutions
The text was updated successfully, but these errors were encountered: