Skip to content

Add compatibility for data providers without named sets.#77

Merged
baev merged 1 commit intoallure-framework:mainfrom
TwoD:indexedDataProviders
Jan 10, 2023
Merged

Add compatibility for data providers without named sets.#77
baev merged 1 commit intoallure-framework:mainfrom
TwoD:indexedDataProviders

Conversation

@TwoD
Copy link
Contributor

@TwoD TwoD commented Aug 19, 2022

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.

@CLAassistant
Copy link

CLAassistant commented Aug 19, 2022

CLA assistant check
All committers have signed the CLA.

@baev baev merged commit fd23ec5 into allure-framework:main Jan 10, 2023
remorhaz added a commit to remorhaz/allure-phpunit that referenced this pull request Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants