exercism / php-test-runner

GNU Affero General Public License v3.0
0 stars 6 forks source link

Support user output again #109

Closed mk-mxp closed 5 months ago

mk-mxp commented 5 months ago

I tried a lot of things to make PHPUnit render user output into JUnit logs. I then found out, that this is intentionally removed. So I looked for another way to get the output.

The output is contained in teamcity logs, with additional commandline settings. So I used this to add the output to the result.

Also added tests for the various conditions.

Closes #108

homersimpsons commented 5 months ago

For this I wanted to create a phpunit extension that would hook itself on phpunit and could do anything we want.

I feel like the current setup with junit export and parsing is quite "hacky".

mk-mxp commented 5 months ago

JetBrains TeamCity message escaping found. There is no Unicode escaping done in PHPUnit.