mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: filter by dataset name
This commit is contained in:
@ -99,7 +99,9 @@ abstract class NameFilterIterator extends RecursiveFilterIterator
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($test instanceof HasPrintableTestCaseName) {
|
if ($test instanceof HasPrintableTestCaseName) {
|
||||||
$name = $test::getPrintableTestCaseName().'::'.$test->getPrintableTestCaseMethodName();
|
$name = trim(
|
||||||
|
$test::getPrintableTestCaseName().'::'.$test->getPrintableTestCaseMethodName().$test->dataSetAsString()
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
$name = $test::class.'::'.$test->nameWithDataSet();
|
$name = $test::class.'::'.$test->nameWithDataSet();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user