Skip to content

Support executing JUnit5 example tests from IntelliJ IDEA - #12

Closed
hankem wants to merge 1 commit into
mainfrom
support-executing-JUnit5-examples-from-IntelliJ-IDEA
Closed

hankem wants to merge 1 commit into
mainfrom
support-executing-JUnit5-examples-from-IntelliJ-IDEA

Conversation

@hankem

@hankem hankem commented Dec 28, 2023

Copy link
Copy Markdown
Member

IntelliJ IDEA did not offer to execute the example-junit5 tests directly from the IDE,
but adding the junit-jupiter-api dependency changed this inconvenient behavior
(currently observed with IntelliJ IDEA 2023.2 and 2023.3.2):

IntelliJ-IDEA_with_and_without_junit-jupiter-api

IntelliJ IDEA did not offer to execute the `example-junit5` tests directly from the IDE,
but adding the `junit-jupiter-api` dependency changed this inconvenient behavior
(currently observed with IntelliJ IDEA 2023.2 and 2023.3.2).

I've added the dependency to the `testCompileOnly` configuration
to suggest that it is not actually needed.

Signed-off-by: Manfred Hanke <Manfred.Hanke@tngtech.com>
@hankem
hankem requested a review from codecholeric December 28, 2023 22:27
@hankem hankem closed this Apr 22, 2025
@hankem
hankem deleted the support-executing-JUnit5-examples-from-IntelliJ-IDEA branch April 22, 2025 20:07
@hankem

hankem commented Aug 4, 2026

Copy link
Copy Markdown
Member Author

(included in PR #14)

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.

1 participant