Skip to content

CLI Tool

The Qualflare CLI (qf) is a command-line tool for interacting with Qualflare from your terminal or CI/CD pipeline. It parses and uploads test results from 23 frameworks, and provides read access to all your test management data.

Features

  • Auto-detection: Automatically detects test framework from file patterns and content
  • Multi-format support: Parse JUnit, pytest, Go test, Jest, Playwright, Cypress, Newman, k6, and more
  • Resource queries: List and inspect suites, cases, plans, launches, defects, clusters, and milestones
  • CI/CD integration: Environment variables and Git metadata auto-enrichment
  • Validation: Validate test result files before uploading
  • Dry-run mode: Preview parsed results without uploading

Quick Start

bash
# Install (see Installation for details)
brew install qualflare/tap/qf

# Save your API token under a local identifier
qf login myapp qf_your_token_here

# Upload test results
qf myapp collect results.xml

# List test suites
qf myapp suites list

Commands

Authentication

CommandDescription
login <identifier> <token>Save an API token under a local project identifier
logout <identifier>Remove saved credentials for an identifier
projectsList all saved project identifiers

Data Collection

CommandDescription
collectParse and upload test results to Qualflare
validateValidate test result files without uploading
list-formatsList all supported test frameworks
versionDisplay CLI version information

Resource Queries

All resource commands require a saved identifier and output JSON, making them easy to filter with jq. Invoke as qf <identifier> <command>, e.g. qf myapp suites list.

CommandDescription
suites list / suite getList and inspect test suites
cases list / case getList and inspect test cases
plans list / plan getList and inspect test plans
launches list / launch getList and inspect test launches
defects list / defect getList and inspect defects
clusters list / cluster getList and inspect failure clusters
milestones list / milestone getList and inspect milestones

Next Steps