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

VS Code reports tests as skipped #709

Open
ChrisVesters opened this issue Sep 12, 2024 · 0 comments
Open

VS Code reports tests as skipped #709

ChrisVesters opened this issue Sep 12, 2024 · 0 comments

Comments

@ChrisVesters
Copy link

Expected Behavior

Running tests in VS Code should be the same as running them on the CL.

Note: I have posted this message on the GitHub of VS Code as well, as the tests are executed properly in the command line.

Actual Behaviour

Tests are not executed, they are marked as ignored.

%TSTTREE2,com.example.DemoTest,true,1,false,1,DemoTest,,[engine:junit-jupiter]/[class:com.example.DemoTest]
%TSTTREE3,testItWorks(com.example.DemoTest),false,1,false,2,testItWorks(),,[engine:junit-jupiter]/[class:com.example.DemoTest]/[method:testItWorks()]
%TESTS  3,@Ignore: testItWorks(com.example.DemoTest)
%TESTE  3,@Ignore: testItWorks(com.example.DemoTest)

Steps To Reproduce

Unzip the zip and try to run the tests in VSCode.
See that they are skipped.
Comment out the line id("io.micronaut.test-resources") version "4.4.2" in build.gradle.
Run the tests again, and now they work.

demo.zip

Environment Information

JDK 22
VS Code 1.93.0

Example Application

No response

Version

4.4.2

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

No branches or pull requests

1 participant