Skip to content

Backport changes to the xref-parser test framework from ensembl-xref

Marek Szuba requested to merge backport/test_framework into feature/xref_sprint

Created by: mkszuba

Description

Backport changes to the xref unit-test framework from ensembl-xref to the main repository.

Use case

See ENSCORESW-3234. Although the first iteration of the test framework developed by @nerdstrike for the purpose of actually letting us unit-test xref parsers was committed to ensembl, it has since been modified in ensembl-xref.

Benefits

We will continue to be able to run xref-parser unit tests.

Possible Drawbacks

We will use even more Travis CPU time.

Testing

Have you added/modified unit tests to test the changes?

Yes, the two unit-test files already present in misc-scripts/xref_mapping have been updated accordingly.

If so, do the tests pass/fail?

They pass.

Have you run the entire test suite and no regression was detected?

Yes, everything passes. For the record, at least on my system running the main test suite automatically picks up tests from the xref directory.

Merge request reports