Open mk-mxp opened 3 weeks ago
I have analysed the possible sources for including the input values into the test feedback. There is no hint in JUnit results.xml
nor teamcity.txt
. So this must be solved by re-designing the test files in the PHP track:
@testdox
descriptions@testdox
with $_dataName
/ $testInputVar
If we choose the last option (variables in @testdox
) the test runner must have a test case for that, too.
We currently have @dataProvider
in these exercises:
I'll leave this issue opened for reference in PHP track https://github.com/exercism/php/issues/755
While looking into this forum thread, I found that students cannot output anything to debug their code. Also the test feedback somehow is incomplete:
This test file uses
@dataProvider
to ease coding of tests, but that must be designed to deliver acceptable test feedback (students must see test input, not "data set #5"). It is best to avoid data providers.Anyways, there should be test output delivered when using
echo
orvar_dump()
. And that's missing.Code submitted: