kelemen / netbeans-gradle-project

This project is a NetBeans plugin able to open Gradle based Java projects. The implementation is based on Geertjan Wielenga's plugin.
170 stars 57 forks source link

Unable to run test #360

Closed sander-adhese closed 2 years ago

sander-adhese commented 7 years ago

JUnit tests are present, but I can't run them except through gradle build + run (CTRL-F6), which is really inconvenient. (for starters it takes a long time) Run Test / Run Test Method should just run it as unit test. I miss the simple Eclipse's 'run as' menu option. Any idea's?

kelemen commented 7 years ago

Those commands should work (I use them daily), what are you doing exactly?

sander-adhese commented 7 years ago

So I've imported my project as gradle project, but the project structure is not Netbeans default. Ergo it can't find out where the test classes live I guess, making the jUnit submenu structure unavailable

kelemen commented 7 years ago

Can you share your build, the project structure not being default shouldn't necessarily be a problem.