-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Codewars reporter ignores @testdox
annotation
#4
Comments
Escalated to CW-171 |
@hobovsky Can you help with the fix? We should have some tests in this repo as well. |
Sure, I will see what I can do. |
After looking into the issue and runnign the setup locally, it turned out I was not completely right:
I misinterpreted docs on I created #5 so you can see how it works. Feel free to reject if the docfx prettification of not annotated titles is not desired. |
PHPUnit provides
@testdox
annotation, which allows custom titles for test classes and test methods. However, Codewars reporter emits<DESCRIBE::>
and<IT::>
which do not use custom titles.The cause can be that the CW reporter uses
$test->getName()
, while custom titles seem to be obtained with\PHPUnit\Util\Test::describeAsString($test)
, as can be seen in the default reporter.The text was updated successfully, but these errors were encountered: