Details
-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
users have to explicitly pick the src/test/java source folder (we should be able to deafult this if we can find a source folder with "test" in it - if we find multiple, pick the first one that doesn't end in "resources" or that ends in java/scala or something?
Also it might be nice to not have blank as the package; maybe pick the first directory in the available source packages (or for extra bonus points, the deepest directory tree which has either no children or more than one child.
e.g.
src/test/java/com/acme/foo
would be good to have "com.acme.foo" as the default test package.
However if you had the code...
src/test/java/com/acme/foo
something/
another/
then picking "com.acme.foo" would be good as its hard to go deeper as there's more than one child.