Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E ensembl
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ensembl-gh-mirror
  • ensembl
  • Merge requests
  • !286

Test module for xref parsers, test WormbaseDirectParser

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Marek Szuba requested to merge github/fork/wbazant/master into master Aug 30, 2018
  • Overview 16
  • Commits 1
  • Pipelines 0
  • Changes 5

Created by: wbazant

Description

Add a way to test xref parsers, and a first test, for WormbaseDirectParser.

Use case

I will work on WormbaseDirectParser soon, aiming to develop a more correct way to handle UniProt xrefs for c. elegans. I'll add some tests to the code I touch, probably.

Developers of xref parsers could add their tests to this module and get benefits like I expect - see the section, "Benefits"

Benefits

Other people can edit WormbaseDirectParser and see if it still works. The test documents a possible bug in WormbaseDirectParser (some duplicate direct_xrefs).

Possible Drawbacks

The repo will take slightly longer to download, and the test suite will run longer.

Testing

The test runs fine with prove, although a module issuing mysql commands through the shell is warning me about how using password on the command line can be insecure. I think the Travis setup will be fine with how I changed it.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/wbazant/master