Skip to content

Conversation

@Sgitario
Copy link
Contributor

Before these changes, we were creating instances regardless even though the parent classes were already created.

This pull request fixes this issue and adds a test coverage when running nested classes with lifecycle test instance.

Fix #25812

Before these changes, we were creating instances regardless even though the parent classes were already created. 

This pull request fixes this issue and adds a test coverage when running nested classes with lifecycle test instance.

Fix quarkusio#25812
@Sgitario
Copy link
Contributor Author

/cc @ivansenic @geoand

@ivansenic
Copy link
Contributor

Just a small note, in my tests @BeforeAll was working fine. @AfterAllwas failing..

@Sgitario
Copy link
Contributor Author

Just a small note, in my tests @BeforeAll was working fine. @AfterAllwas failing..

Yes, but I used @BeforeAll instead because this way I could assert it was working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QuarkusTestExtension fails to run @AfterAll with nested test classes and per-class test instance lifecycle

3 participants