Replies: 2 comments
-
Ok the issue here was when I run the command with relative path
it generate the output file with absolute path. is there any way to handle it in neotest? I mean pleace it is the output file <?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="crmi\tests\unit\invoice\price\calculation\BaseMeterCostTest" file="/app/test/tests/unit/invoice/price/calculation/BaseMeterCostTest.php" tests="4" assertions="8" errors="0" warnings="0" failures="0" skipped="0" time="0.068471">
<testcase name="testIsCallable" class="crmi\tests\unit\invoice\price\calculation\BaseMeterCostTest" classname="crmi.tests.unit.invoice.price.calculation.BaseMeterCostTest" file="/app/test/tests/unit/invoice/price/calculation/BaseMeterCostTest.php" line="22" assertions="1" time="0.040909"/>
<testcase name="testReturnsExpectedKeys" class="crmi\tests\unit\invoice\price\calculation\BaseMeterCostTest" classname="crmi.tests.unit.invoice.price.calculation.BaseMeterCostTest" file="/app/test/tests/unit/invoice/price/calculation/BaseMeterCostTest.php" line="34" assertions="4" time="0.007710"/>
<testcase name="testHasPriceCostNameConstant" class="crmi\tests\unit\invoice\price\calculation\BaseMeterCostTest" classname="crmi.tests.unit.invoice.price.calculation.BaseMeterCostTest" file="/app/test/tests/unit/invoice/price/calculation/BaseMeterCostTest.php" line="45" assertions="2" time="0.003690"/>
<testcase name="testComputedValues" class="crmi\tests\unit\invoice\price\calculation\BaseMeterCostTest" classname="crmi.tests.unit.invoice.price.calculation.BaseMeterCostTest" file="/app/test/tests/unit/invoice/price/calculation/BaseMeterCostTest.php" line="60" assertions="1" time="0.016161"/>
</testsuite>
</testsuites>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there any example to handle this status icon? How to define it green or red? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to make the tests work from docker container, I could see the the test is executed correctly, but the icon is red 🔴
and looking into the logs, the problem is, the output file wasn't generate into the folder that I specified.
olimorris/neotest-phpunit#18
Could anyone give me some insight?
Beta Was this translation helpful? Give feedback.
All reactions