Skip to content

Test reporter upload tool. Uploads test results to TestRecall.com

License

Notifications You must be signed in to change notification settings

TestRecall/reporter

Repository files navigation

Build Status GitHub release license

TestRecall Reporter

This is a TestRecall command line for uploading test reports.

  • Downloads can be found under releases
  • Documentation can be found here

Installation

There are a few options for installing

Recommended way:

curl -fsSL https://get.testrecall.com/reporter | bash

testrecall-reporter --version

From the latest releases:

curl -fsSL -o testrecall-reporter \
  https://github.com/TestRecall/reporter/releases/download/v0.2.0/reporter_Linux_x86_64

chmod +x testrecall-reporter

./testrecall-reporter --version

From source:

git clone github.com/testrecall/reporter

make setup
make build

./dist/linux_linux_arm64/reporter --version

Usage

The TestRecall reporter uploads test results from your test suites. If your language can output a junit xml format test reports, running testrecall-reporter after your test results will upload the results.

TR_UPLOAD_TOKEN=your_upload_token

trap 'testrecall-reporter' EXIT

npm run test # => output report.xml

Configuration

flag environment values note
file <glob> file path or glob pattern for xml results, e.g. (/tmp/report.xml, or build/*/junit*.xml)
TR_UPLOAD_TOKEN <string> upload token for your test project

The test reporter will pick up most configuration options by default, including common default locations for test reports.

Compiling

If you want to compile from source, you will need:

  • Go
  • Make

To build, test, and compile a binary:

make setup
make test
make build