Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A autojump
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 158
    • Issues 158
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 54
    • Merge requests 54
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • William Ting
  • autojump
  • Merge requests
  • !563

Refactor tests to use platform specific path format in test data

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Chris requested to merge github/fork/MrKriss/refactor-windows-tests into master Mar 04, 2019
  • Overview 0
  • Commits 7
  • Pipelines 0
  • Changes 4

A follow on PR from #561 and #562.

A bit of refactoring to reduce duplication of tests involving Windows and linux path formats.

  • The haystack fixture now returns test path data based on the format of the platform its running on.
  • The examples used or both windows and linux paths are now the same in terms of there folder names.
  • Returned results are compared to the indexed haystack in the assertions checks e.g. assert foo() == [haystack[0]]
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/MrKriss/refactor-windows-tests