-
Notifications
You must be signed in to change notification settings - Fork 397
Open
Labels
enhancementImprovement of existing code or methodImprovement of existing code or methodlow prioritytestingTest code and methodsTest code and methods
Description
This has been discussed numerous times, but I didn't see an issue devoted to it.
The unit tests currently depend heavily on external resources, e.g. for downloading structures or genbank files. This means that tests cannot be run offline, and that temporary outages cause the build to fail. I suggest
- Wherever possible, include test resources directly in the repository rather than downloading. Large files (e.g. SCOP files) should be truncated into manageable subsets where possible.
- Unit tests that legitimately test connections to external resources should be moved to biojava-integrationtest. They should also test connections using junit assume statements (although travis also fails for failed assumptions).
- All modules except integrationtest should pass when offline
josemduarte, heuermh and lafita
Metadata
Metadata
Assignees
Labels
enhancementImprovement of existing code or methodImprovement of existing code or methodlow prioritytestingTest code and methodsTest code and methods