In a unit test, I'm trying to get a list of classes under a package.
When I do
...getClassLoader().getResource("<some package in both main and test>");
from a unit test, it returns a URL that points to test-classes
. How do I get the URL to the main classes?
Aucun commentaire:
Enregistrer un commentaire