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
The text was updated successfully, but these errors were encountered:
sebastianbergmann
changed the title
It would be good to document @ https://phpunit.readthedocs.io/en/9.5/annotations.html?highlight=testdox#testdox that one can also use $_dataName in the @testDox line, and it's the value of the key from the data provider's array, ie:
Document the support for replacing placeholders in @testdox text with data provider values
Mar 18, 2021
plucht
added a commit
to plucht/phpunit-documentation-english
that referenced
this issue
Aug 5, 2021
It would be good to document @ https://phpunit.readthedocs.io/en/9.5/annotations.html?highlight=testdox#testdox that one can also use
$_dataName
in the@testDox
line, and it's the value of the key from the data provider's array, ie:Yields this sort of thing in the test output:
It would also be good to document the
@testDox
usage at https://phpunit.readthedocs.io/en/9.3/writing-tests-for-phpunit.html#data-providers, given it's reasonably closely related to some of the other documented functionality there.(Mostly putting this here in case someone lands here from a search, wondering how to leverage that key name in the
@testDox
line.Originally posted by @adamcameron in sebastianbergmann/phpunit#3196 (comment)
The text was updated successfully, but these errors were encountered: