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
I spent a bit of time trying to find out why PHPUnit was not finding my test file, and it turns out it was due to the whitespace present from having the <file> tag on multiple lines. Putting it into a single line and the tests were found. I could not find such a requirement in the docs.
I'm guessing the value should be trimmed when it is being fetched (I believe it's this line). The multi-line format was not intentional and was done automatically by my IDE.
I spent a bit of time trying to find out why PHPUnit was not finding my test file, and it turns out it was due to the whitespace present from having the
<file>
tag on multiple lines. Putting it into a single line and the tests were found. I could not find such a requirement in the docs.I'm guessing the value should be trimmed when it is being fetched (I believe it's this line). The multi-line format was not intentional and was done automatically by my IDE.
Finds File:
Can't Find File:
When using multi-line it provides no error message and just says "No tests executed!".
PHPUnit 5.3.x-dev
The text was updated successfully, but these errors were encountered: