Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

sascha-egerer
Copy link

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
Collaborator

Can you have a look at the failing test?

@W0rma
Copy link
Contributor

W0rma commented Dec 5, 2024

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
Member

Hi @sascha-egerer,

I'm closing this PR in favor of #6812 due to the progress made on the tests.

If you have any additional comments or suggestions regarding this PR, your input would be greatly appreciated. Thanks!

@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