Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E ensembl-io
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • 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-io
  • Merge requests
  • !63

Merged
Created Aug 13, 2018 by Marek Szuba@mks

Fix of hard coded test data file paths in tests

  • Overview 0
  • Commits 1
  • Changes 20

Created by: tgrego

Description

Tests used an absolute path for the test files, so if test where run from a different location other than the root of the repo it would fail to find the files. This changes the path to a relative path, so that it always finds the test files.

Use case

Tests are sometimes run from locations other than the root of the repo, and it would fail to find the test files.

Benefits

Path for test files is now always correct.

Possible Drawbacks

none I can think of.

Testing

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

If so, do the tests pass/fail? pass

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: test-file-path