This is a TestRecall command line for uploading test reports.
There are a few options for installing
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
git clone github.com/testrecall/reporter
make setup
make build
./dist/linux_linux_arm64/reporter --version
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
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.
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