@thundra/foresight-cli-test-uploader
v0.0.9
Published
Thundra Foresight CLI Test Uploader ==========
Downloads
5
Maintainers
Readme
Thundra Foresight CLI Test Uploader
The Thundra Foresight CLI Test Uploader used to upload test reports to Thundra Foresight.
Installation
If @thundra/foresight-cli
installed, don't need to install @thundra/foresight-cli-test-uploader
.
npm install -g @thundra/foresight-cli-test-uploader
Command
- [
thundra-foresight-cli upload-test
] - Upload test results
Options
| Flag | Requirement | Environment Variable | Default | --- | --- | --- | --- | -a, --apiKey | Required | FORESIGHT_APIKEY | None | -ud, --uploadDir | Required | FORESIGHT_UPLOADER_REPORT_DIR | None | -fw, --framework | Required | FORESIGHT_UPLOADER_TEST_FRAMEWORK | None | -fm, --format | Required | FORESIGHT_UPLOADER_TEST_FORMAT | None | -su, --signerUrl | Optional | FORESIGHT_UPLOADER_SIGNER_URL | ThundraSignedUrl | -upms, --uploadMaxSize | Optional | FORESIGHT_UPLOADER_SIZE_MAX | 20 MB | -uptout, --uploadProcessTimeout | Optional | FORESIGHT_UPLOAD_PROCESS_TIMEOUT | 30000 ms | -uptp, --uploadTrackProgress | Optional | FORESIGHT_UPLOAD_TRACK_PROGRESS | true | -apsmd, --archiveScanPathMaxDepth | Optional | FORESIGHT_SCAN_PATH_MAX_DEPTH | 5 | -aptout, --archiveProcessTimeout | Optional | FORESIGHT_ARCHIVE_PROCESS_TIMEOUT | 30000 ms | -p, --projectId | Optional | FORESIGHT_PROJECT_ID | None | -l, --logLevel | Optional | FORESIGHT_LOG_LEVEL | info
** FORESIGHT_UPLOADER_TEST_FRAMEWORK value should be one of the ("TESTNG", "JUNIT", "JEST", "PYTEST", "XUNIT2").
** FORESIGHT_UPLOADER_TEST_FORMAT value should be one of the ("JUNIT", "TRX").
- [
thundra-foresight-cli upload-test-coverage
] - Upload test coverage results
Options
| Flag | Requirement | Environment Variable | Default | --- | --- | --- | --- | -a, --apiKey | Required | FORESIGHT_APIKEY | None | -ud, --uploadDir | Required | FORESIGHT_UPLOADER_REPORT_DIR | None | -fm, --format | Required | FORESIGHT_UPLOADER_COVERAGE_FORMAT | None | -su, --signerUrl | Optional | FORESIGHT_UPLOADER_SIGNER_URL | ThundraSignedUrl | -upms, --uploadMaxSize | Optional | FORESIGHT_UPLOADER_SIZE_MAX | 20 MB | -uptout, --uploadProcessTimeout | Optional | FORESIGHT_UPLOAD_PROCESS_TIMEOUT | 30000 ms | -uptp, --uploadTrackProgress | Optional | FORESIGHT_UPLOAD_TRACK_PROGRESS | true | -apsmd, --archiveScanPathMaxDepth | Optional | FORESIGHT_SCAN_PATH_MAX_DEPTH | 5 | -aptout, --archiveProcessTimeout | Optional | FORESIGHT_ARCHIVE_PROCESS_TIMEOUT | 30000 ms | -p, --projectId | Optional | FORESIGHT_PROJECT_ID | None | -l, --logLevel | Optional | FORESIGHT_LOG_LEVEL | info
** FORESIGHT_UPLOADER_TEST_FORMAT value should be one of the ("JACOCO/XML", "COBERTURA/XML", "GOLANG").
Issues
For problems directly related to the CLI, add an issue on GitHub.