Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • 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
  • Meta
  • buck
  • Merge requests
  • !1082

Add snapshot_reference_images_path to apple_test

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/robbertvanginkel/snapshotreferences into master Jan 09, 2017
  • Overview 5
  • Commits 1
  • Pipelines 0
  • Changes 4

Created by: robbertvanginkel

For usage with the https://github.com/facebook/ios-snapshot-test-case repo.

Snapshot test reference image paths are controlled by an environment variable that is set on the test run process. Currently though it is not possible to add an environment variable to a specific test target. This commit allows indivudual apple_test rules to reference different paths for snapshot test reference images.

This is a specific field instead of a more general thing like test_environment_variables, to allow the value to be a SourcePath so it can be combined with the export_file rule.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/robbertvanginkel/snapshotreferences