-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Description
I am following the steps at this page to run Junit5 tests with VS Code and Maven. I have these extensions installed:
and my pom.xml has:
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>
I have put my test classes in src/test/java. but VS Code does not detect JUNIT5 tests. the green "lenses" or "buttons" do not show up next to the tests. In one of the logs I could see:
Preview features enabled at an invalid source release level 21, preview can be enabled only at source level 22; code: 2098258
and not sure if it is because of this.
related: #470
diegoxxc14