Allow a test with only one #Examples() attribute by sascha-egerer · Pull Request #6789 · Codeception/Codeception · GitHub
Skip to content

Allow a test with only one #Examples() attribute#6789

Closed
sascha-egerer wants to merge 1 commit into
Codeception:mainfrom
sascha-egerer:5.1
Closed

Allow a test with only one #Examples() attribute#6789
sascha-egerer wants to merge 1 commit into
Codeception:mainfrom
sascha-egerer:5.1

Conversation

@sascha-egerer

Copy link
Copy Markdown

If a cest test does only have one #Examples() attribute it is not handled as if there are multiple but an InjectionException occurs.
The Examples attribute does now also work if it is not repeated

If a cest test does only have one `#Examples()` attribute
it is not handled as if there are multiple but an InjectionException
occurs.
The Examples attribute does now also work if it is not repeated
@SamMousa

Copy link
Copy Markdown
Collaborator

@W0rma

W0rma commented Dec 5, 2024

Copy link
Copy Markdown
Contributor

I created #6812 which is based on #6752 which was about the same issue.

This PR can be closed if my PR is accepted.

@TavoNiievez

Copy link
Copy Markdown
Member

@TavoNiievez TavoNiievez closed this May 2, 2025
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