agera-edc / DataSpaceConnector

DataspaceConnector project
Apache License 2.0
1 stars 0 forks source link

Testing/CI: Use Tags to categorize integration tests #93

Closed arckumari closed 2 years ago

arckumari commented 2 years ago

Feature: https://github.com/agera-edc/DataSpaceConnector/issues/30 EDC issue : 759

The integration test pipeline should be adapted to run test suites based on test annotations, to make the test pipeline more maintainable and faster.

Also we want to exclude specific classes based on an annotation.

Background

The pipeline has this structure:

    steps:
      - name: Object Storage StatusChecker Test
        env:
          RUN_INTEGRATION_TEST: true
        run: ./gradlew extensions:azure:blobstorage:blob-provision:check

      - name: CosmosDB Transfer Process Store Test
        env:
          RUN_INTEGRATION_TEST: true
          COSMOS_KEY: ${{ secrets.COSMOS_KEY }}
        run: ./gradlew extensions:azure:cosmos:transfer-process-store-cosmos:check
...

This has the following downsides:

JUnit 5 provides Tags to control test suite execution.

Acceptance Criteria

Tasks

cpeeyush commented 2 years ago

Upstream PR https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/pull/868