I have  maven javafx project. Java 17, NB 15. It's also a modular
application with a module-info.

I try to create a test for a class, and all I get is an empty class. It has
the JUnit imports, but no test methods. Just an empty class with an empty
constructor. None of the methods.

Also, I can't seem to add any of my classes to the generated class. Auto
complete doesn't see any of the classes, and when I compile the test, it
also complains it can not find the classes.

Yet, I created a simple JavaFX project, added a test to that, and it worked
fine.

I took my pom.xml from my project, and replaced the one from the simple
project with it, and everything worked fine.

So, I don't know what else I could check to see why the testing does not
work for my project, but works for another with an identical pom file
(barring the project name).

Thanks.

Regards,

Will Hartung

Reply via email to