Skip to main content

QA Sphere CLI Tool Description

What is the QA Sphere CLI?

The QAS CLI (Command Line Interface) is a powerful tool designed to bridge the gap between your automated testing processes and QA Sphere, our comprehensive test management platform. This tool enables seamless integration of your test automation results directly into QA Sphere, enhancing your ability to track, analyze, and report on your testing efforts.

Key Features

  1. Automated Test Run Creation: The QAS CLI intelligently creates new test runs when no specific run is provided, streamlining the process of managing test executions in QA Sphere.

  2. Test Result Upload: The QAS CLI can upload test case results from JUnit XML files to either new or existing QA Sphere test runs. This feature is particularly useful for integrating with various testing frameworks and CI/CD pipelines.

  3. Intelligent Matching: The tool matches test suite names and test case names from your JUnit XML files to QA Sphere's project folders and test cases, ensuring accurate result reporting.

  4. Attachment Support: With the --attachments option, the CLI can detect and upload relevant attachments along with your test results, providing more context to your test outcomes.

  5. Flexible Configuration: The tool supports configuration through environment variables or a .qaspherecli file, allowing for secure and convenient setup in various environments.

  6. Error Handling: The --force option allows you to continue uploads even when encountering API request errors, invalid test cases, or attachment issues, providing flexibility in different scenarios.

Why Use QAS CLI?

  1. Streamlined Workflow: Eliminate manual result entry, reducing human error while integrating testing directly into your QA processes.

  2. CI/CD Integration: Incorporate automated test reporting into your pipelines with automatic test run creation at every development stage.

  3. Comprehensive Reporting: Automate data collection to grasp your testing processes efficiency and to prevent bottlenecks.

  4. Time Savings: Simplify administrative tasks and free your team to focus on analysis and coverage improvements.

  5. Consistency: Unify your testing processes and data to ensure a consistent approach to test execution management.

By leveraging the QAS CLI tool, you can significantly enhance your test management process, bringing automation, consistency, and efficiency to your quality assurance workflows. The tool's intelligent handling of test runs and results makes it an invaluable asset for modern testing environments.