Closed mk-mxp closed 2 months ago
Investigation:
<system-out>
from JUnit for PHPUnit V10+. There is no replacement.--disallow-test-output --fail-on-risky
).<testsuite name="HelloWorldTest" [...] tests="1" assertions="1" errors="0" failures="0" skipped="0" time="0.007922">
|
is escape char): ##teamcity[testFailed name='testHelloWorld' message='This test printed output: My |'User üâ|||| output|'|n\Some backslash|nobject(stdClass)#79 (0) {|n}|n' details='' duration='6' flowId='6893']
Conclusion:
Since #105 there is no user output (
echo
orvar_dump()
) forwarded to the online editor results. There is no test for that, so it wasn't catched in advance.I also got that feedback from a collegue on CLI. Maybe PHPUnit needs to be configured accordingly?