Skip to content

Fixes #494, i.e. the bug that additional stages in JUnit5 are not injected as Spring Beans.#495

Merged
l-1squared merged 1 commit intoTNG:masterfrom
catchin:spring-junit5-additional-stage-fix
Oct 6, 2020
Merged

Fixes #494, i.e. the bug that additional stages in JUnit5 are not injected as Spring Beans.#495
l-1squared merged 1 commit intoTNG:masterfrom
catchin:spring-junit5-additional-stage-fix

Conversation

@catchin
Copy link
Copy Markdown
Contributor

@catchin catchin commented Sep 11, 2020

Note that the JUnit5 Extensions have to be executed in the correct order, meaning the SpringExtension must run before the JGivenExtension. This is now enforced. Unfortunately, the original JUnit5 ScenarioTest (and similar) cannot be used any longer because they already contain the JGivenExtension.

Signed-off-by: Fabian Kneißl fabian.kneissl@tngtech.com

Note that it would be good to also merge #493 so that the tests are actually executed :)

…injected as Spring Beans.

Note that the JUnit5 Extensions have to be executed in the correct order, meaning the SpringExtension must run before the JGivenExtension. This is now enforced. Unfortunately, the original JUnit5 ScenarioTest (and similar) cannot be used any longer because they already contain the JGivenExtension.

Signed-off-by: Fabian Kneißl <fabian.kneissl@tngtech.com>
@catchin catchin force-pushed the spring-junit5-additional-stage-fix branch from 960ddf5 to 7c2f6b4 Compare September 11, 2020 14:41
@l-1squared l-1squared merged commit 66d4ede into TNG:master Oct 6, 2020
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.

3 participants