Skip to content

How to test semver resource #1603

Closed
Closed

Description

@jama22

When it comes to contributing to Concourse resources, our projects have a "testability" gap. While the community is more than open to making changes and tweaks to Concourse resources, it is very difficult to write tests for them. This story is an effort to

  1. make the semver resource more test-able
  2. provide any resource-specific instructions (if applicable) to run and write tests

Activity

  1. jmelchio commented on Sep 19, 2017

    @jmelchio
    Contributor

    With this and #1601, we have to find a way to mock an s3 bucket, so users don't require active s3 integration.

  2. vito commented on Dec 1, 2017

    @vito
    Contributor

    As far as I can tell this is actually done.

    We ended up making an approved-for-ci label on the semver resource's repo, and having the pipeline integrate against real services. The pipeline then only runs PRs labeled 'approved-for-ci', so that we can make sure it's not going to do anything nefarious with our credentials or service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions