Skip to content
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

Add support for JUnit's @Nested #14177

Merged
merged 1 commit into from
Jan 12, 2021
Merged

Conversation

stuartwdouglas
Copy link
Member

@stuartwdouglas stuartwdouglas commented Jan 8, 2021

I don't really understand the use case for @Nested, but this
should make it work now.

Fixes #11323

@ghost ghost added the area/testing label Jan 8, 2021
@geoand geoand changed the title Add support for @Nestled Add support for JUnit's @Nested Jan 8, 2021
I don't really understand the use case for @nested, but this
should make it work now.

Fixes quarkusio#11323
@geoand geoand added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Jan 11, 2021
@geoand geoand merged commit b413fd8 into quarkusio:master Jan 12, 2021
@ghost ghost added this to the 1.12 - master milestone Jan 12, 2021
@gsmet gsmet modified the milestones: 1.12 - master, 1.11.0.Final Jan 12, 2021
@timovandeput
Copy link

The current (2.1.0.Final) version of Quarkus does not support @Nested in combination with @InjectMock.

All annotated attributes are null during invocation of nested tests.

@geoand
Copy link
Contributor

geoand commented Aug 13, 2021

Please open a new issue for this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing triage/waiting-for-ci Ready to merge when CI successfully finishes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@Nested (Junit5) associated with @QuarkusTest causes an UnsatisfiedResolutionException
5 participants