Skip to content

Investigate separate module-info for tests #79

@gselzer

Description

@gselzer

Maven's Surefire documentation suggests adding a second module for tests.

  • This seems to confuse Eclipse, and makes JUnit tests difficult to run. I seem to get the following error, having the following project hierarchy:
    image
    image
  • This would also require the test module to have a different name than the main module. In the example above, we have main module org.scijava.discovery.therapi and test module org.scijava.discovery.therapi.test

As it currently stands, the test classes are on the classpath, which prevents us from having to declare test-related dependencies in the main package's module-info. It would be smooth, however, if the test package was also a module

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions