@adobe/cci-test-aggregator

CircleCI Test Aggregator


Keywords
circleci, helix
License
Apache-2.0
Install
npm install @adobe/cci-test-aggregator@1.1.15

Documentation

CircleCI Test Aggregator

Aggregates test results from multiple CircleCI pipeline steps

When running builds that depend on external pipelines to complete (such as Project Helix Smoke Tests) it is inconvenient to find the correct URL for the workflow in the CircleCI log messages, open it, find the failed build job and check the test results there. With this utility you can use the CircleCI API to aggregate test results from external pipeline runs (multiple jobs) and report them in the JUnit test format that CircleCI expects.

Status

codecov CircleCI GitHub license GitHub issues LGTM Code Quality Grade: JavaScript semantic-release

Installation

$ npm install @adobe/cci-test-aggregator

Usage

$ export SMOKE_TEST_TOKEN="<your circleci token here>"
# Replace the URL with your Pipeline URL
$ npx @adobe/cci-test-aggregator https://circleci.com/api/v2/pipeline/477b38d1-faf7-4156-a48a-9aba71acbc4a/workflow
$ cat junit/junit.xml

You can now use the junit folder as test artifact in CircleCI.

Development

Build

$ npm install

Test

$ npm test

Lint

$ npm run lint