Skip to content

Introduce a new JCasC Test Harness Library #917

@oleg-nenashev

Description

@oleg-nenashev

Your checklist for this issue

🚨 Please review the guidelines for contributing to this repository.

  • Link to any upstream changes that might be required (for example Jenkins Core pull request)

Feature Request

It looks like we have a lot of test framework functionality for JCasC:

Currently it is hard to reuse this code, because it is located within the test suites, so an odd dependency is needed. Also, it makes the downstream plugins to pull in more test dependencies than we really want.

    <dependency>
      <groupId>io.jenkins</groupId>
      <artifactId>configuration-as-code</artifactId>
      <version>${configuration-as-code.version}</version>
      <classifier>tests</classifier>
      <scope>test</scope>
    </dependency>

What if we introduce a new configuration-as-code-test-harness component which would ship it in a library?

    <dependency>
      <groupId>io.jenkins</groupId>
      <artifactId>configuration-as-code-test-harness</artifactId>
      <version>${configuration-as-code.version}</version>
      <scope>test</scope>
    </dependency>

Metadata

Metadata

Assignees

No one assigned

    Labels

    testA PR that adds to testing - used by Release Drafter

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions