@thundra/foresight-cli-test-uploader

Thundra Foresight CLI Test Uploader ==========

Usage no npm install needed!

<script type="module">
  import thundraForesightCliTestUploader from 'https://cdn.skypack.dev/@thundra/foresight-cli-test-uploader';
</script>

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 THUNDRA_APIKEY None
-p, --projectId Required THUNDRA_FORESIGHT_PROJECT_ID None
-ud, --uploadDir Required THUNDRA_UPLOADER_REPORT_DIR None
-f, --framework Required THUNDRA_UPLOADER_FRAMEWORK None
-su, --uploaderSignerUrl Optional THUNDRA_UPLOADER_SIGNER_URL ThundraSignedUrl
-ms, --uploaderMaxSize Optional THUNDRA_FORESIGHT_SIZE_MAX 20 MB
-l, --logLevel Optional THUNDRA_FORESIGHT_LOG_LEVEL error
  • THUNDRA_UPLOADER_FRAMEWORK value should be one of the ("TESTNG", "JUNIT", "JEST", "PYTHON", "TRX", "XUNIT2").

Issues

For problems directly related to the CLI, add an issue on GitHub.

Contributors