How to run Junit Test (Java) from VSCode

Viewed 3172

I have an Eclipse Maven project that uses selenium and Junit to run some tests. It currently works fine when I run it as Junit Test.

I want to try out the ide from visual studio code but I can't get it to work. I am getting the following message:

ConfigError: The project 'CopaSelfWebCheckIn' is not a valid java project.

enter image description here

I know there is no main folder. I rather run it from where it is right now.

Can someone explain me how to set this up. Thanks.

0 Answers
Related