Skip to main content

QA Analytics Insights

GitHub all releases GitHub Workflow Status

Overview

This repository hosts the source code for the QA Analytics Insights project, a robust command-line interface (CLI) tool designed to generate data-driven insights from QA (Quality Assurance) test results. Test results are typically generated in XML format by test automation frameworks such as pytest and unittest.

Features

  • Analyze test results in XML format.

  • Generate visualizations and metrics to better understand test performance.

  • Create actionable insights to improve QA processes.

Command line tool

The command line tool can be used to generate insights from the tests results in xml format.

The tool can be used as follows:

$ qa-analytics-insights --help
Usage: qa-analytics-insights -f <file> [-o <output_dir>] [-vv] [-h] [-v]

The tool accepts the following arguments:

  • -f or –file: Path to the file containing the tests results in xml format.

  • -o or –output: Path to the directory where the insights will be generated.

  • -vv or –verbose: Enable verbose mode.

  • -v or –version: Show version and exit.

  • -h or –help: Show help message and exit.

Library

The library can be used to generate insights from the tests result in xml format.

The library can be used as follows:

from qa_analytics_insights.result_analyzer import ResultAnalyzer
analyzer = ResultAnalyzer(
    test_results_file_path='path/to/test/results/file.xml',
    output_dir='path/to/output/dir',
)

Installation

To install the package from pypi, run the following command:

$ pip install qa-analytics-insights

Development

To install the package in development mode, run the following command:

# create a virtual environment
$ virtualenv -p python3 venv

# activate the virtual environment
$ source venv/bin/activate

# Run the package in development mode
$ hatch run develop:all

For linting, run the following command:

$ hatch run linter:linter

for building the package, run the following command:

$ hatch build

for generating the documentation, run the following command:

$ hatch run docs:all

for running the tests with coverage, run the following command:

$ hatch run default:all

Release files for qa-analytics-insights 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qa-analytics-insights 1.0.3
File Size Uploaded
qa_analytics_insights-1.0.3.tar.gz 22.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qa-analytics-insights 1.0.3
File Interpreter ABI Platform
qa_analytics_insights-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 42.6 kB

Release files / qa_analytics_insights-1.0.3.tar.gz

Download URL qa_analytics_insights-1.0.3.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f37457628caadc29d3d6af81a5295e272bd122d46e7eed77a0548f20d9a6429e
BLAKE2b-256 checksum
How to use checksums
23ce34b66586e847f213613afc3c786916b4ed5d41a60f70e76dbae48ceca66d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / qa_analytics_insights-1.0.3-py3-none-any.whl

Download URL qa_analytics_insights-1.0.3-py3-none-any.whl
Size 20.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6a5cfd2d723ec617fabe6af6beec1e05e3bf09f11364f4ccd34d174944c6f28
BLAKE2b-256 checksum
How to use checksums
229bb498af468df222f20d462402c5d6dcdcbdb188e187b77ef61698d71068aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page