Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Reduce dependence of unit tests on external sites #606

Copy link
Copy link

Description

@sbliven
Issue body actions

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

  1. 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.
  2. 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).
  3. All modules except integrationtest should pass when offline
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.