Closed underdpt closed 3 years ago
That must be a bug here: https://github.com/nunomaduro/collision/blob/1e43bcab2ce79146b9852ca81a25ae2d1d21986b/src/Writer.php#L204.
Can you try to fix it?
@underdpt Is this fixed now with the pr to collision?
Yes, I'm sorry I forgot to close this issue.
No problem, just double checking 👍
Hi
I have some long tests that covers full user interaction with some functionality. There may be tens of assertions on a single test, and I'm facing some difficulty getting to know which assertion has failed.
Take this example:
Upon running the test, this is the output:
It's impossible to know which assertion has failed, I have to add more verbosity and then:
I can see on line 5 that the assertion that has failed is on line 8.
Compared with phpunit:
Results:
It's pretty quick to know which assertion failed.
I think it could be really useful to state the line with the failed assertion on the output.