allure-phpunit icon indicating copy to clipboard operation
allure-phpunit copied to clipboard

Add compatibility for data providers without named sets.

Open TwoD opened this issue 3 years ago • 1 comments

When a data provider does not use named keys for the sets the method name will have a suffix in the form of "with data set #[Index] ([Arguments])".

The regexp didn't account for this, which in turn lead to a crash when testing for a class with a broken method name, leading to the test being excluded from Allure reports.

TwoD avatar Aug 19 '22 20:08 TwoD

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 19 '22 20:08 CLAassistant