File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -368,6 +368,12 @@ Output will be more verbose as it'll contain that name of a dataset that breaks
368
368
FAILURES!
369
369
Tests: 4, Assertions: 4, Failures: 1.
370
370
371
+ .. admonition :: Note
372
+
373
+ You can make the test output more verbose by defining a sentence and using the test's parameter names as placeholders
374
+ (``$a ``, ``$b `` and ``$expected `` in the example above) with the :ref: `appendixes.annotations.testdox ` annotation.
375
+ You can also refer to the name of a named data set with ``$_dataName ``.
376
+
371
377
.. code-block :: php
372
378
:caption: Using a data provider that returns an Iterator object
373
379
:name: writing-tests-for-phpunit.data-providers.examples.DataTest2.php
@@ -442,7 +448,7 @@ Output will be more verbose as it'll contain that name of a dataset that breaks
442
448
if (is_array($row)) {
443
449
$row = array_map('intval', $row);
444
450
}
445
-
451
+
446
452
$this->key = 0;
447
453
}
448
454
You can’t perform that action at this time.
0 commit comments