npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

qase-report

v1.0.2

Published

CLI tool for visualizing Qase TMS test reports with interactive UI

Readme

Qase Report

Open-source CLI tool for visualizing test reports in Qase Report Format. Interactive HTML report with dashboard, test list, step timeline, attachments viewer, and history analytics.

Qase Report

Features

  • Dashboard — Pass/fail statistics, completion rate ring, run metadata
  • Test List — Filterable test cases with suite hierarchy and expandable rows
  • Step Timeline — Nested steps with duration visualization
  • Attachments — Screenshots, logs, and files with lightbox viewer
  • History Analytics — Trends, flakiness detection, regression alerts, stability scoring
  • Command Palette — Quick search with ⌘K / Ctrl+K
  • Dark Theme — Dark mode by default with light theme option
  • Static Export — Generate standalone HTML file that works offline

Installation

npm install -g qase-report

Verify the installation:

qase-report --help

Usage

Open Report in Browser

Start a local server and open the report in your browser:

qase-report open ./path/to/results

Options:

| Option | Description | Default | |--------|-------------|---------| | -p, --port <number> | Port number | 3000 | | --no-open | Don't open browser automatically | — | | -H, --history <path> | History file path | ./qase-report-history.json in results folder |

Examples:

# Open report on custom port
qase-report open ./results -p 8080

# Open without launching browser
qase-report open ./results --no-open

# Specify custom history file
qase-report open ./results -H ./my-history.json

The open command automatically saves run data to the history file, enabling trend analysis and flakiness detection across multiple runs.

Generate Static HTML

Create a standalone HTML file that can be opened directly in a browser (works with file:// protocol):

qase-report generate ./path/to/results

Options:

| Option | Description | Default | |--------|-------------|---------| | -o, --output <file> | Output file path | report.html | | -H, --history <path> | History file to embed | — |

Examples:

# Generate report with custom name
qase-report generate ./results -o my-report.html

# Generate with embedded history
qase-report generate ./results -H ./history.json -o report-with-history.html

Data Format

Qase Report expects data in the Qase Report Format structure:

results/
├── run.json              # Run metadata and statistics
├── results/
│   ├── {uuid}.json       # Individual test results
│   └── ...
├── attachments/          # Screenshots, logs, files
│   └── ...
└── qase-report-history.json  # Optional: history for analytics

run.json

Contains run metadata, execution timing, and test summary:

{
  "title": "Test Run",
  "environment": "production",
  "execution": {
    "start_time": 1707700000000,
    "end_time": 1707700060000,
    "duration": 60000,
    "cumulative_duration": 45000
  },
  "stats": {
    "total": 100,
    "passed": 95,
    "failed": 3,
    "skipped": 2
  },
  "results": [
    { "id": "uuid-1", "title": "Test 1", "status": "passed", "duration": 150, "thread": "worker-1" }
  ],
  "threads": ["worker-1", "worker-2"],
  "suites": ["Auth", "API"],
  "host_data": {
    "node": "v20.0.0",
    "system": "Darwin",
    "release": "23.0.0",
    "version": "Darwin Kernel Version 23.0.0",
    "machine": "arm64"
  }
}

results/{uuid}.json

Individual test result with steps, attachments, and metadata:

{
  "id": "uuid-1",
  "title": "User can login with valid credentials",
  "signature": "auth.login.valid_credentials",
  "muted": false,
  "execution": {
    "status": "passed",
    "start_time": 1707700000000,
    "end_time": 1707700000150,
    "duration": 150,
    "stacktrace": null,
    "thread": "worker-1"
  },
  "message": null,
  "relations": {
    "suite": {
      "data": [
        { "title": "Auth", "public_id": null },
        { "title": "Login", "public_id": null }
      ]
    }
  },
  "steps": [
    {
      "name": "Navigate to login page",
      "status": "passed",
      "duration": 50,
      "steps": []
    }
  ],
  "attachments": [
    {
      "name": "screenshot.png",
      "mime_type": "image/png",
      "file_path": "attachments/screenshot.png"
    }
  ],
  "params": {},
  "param_groups": [],
  "fields": {},
  "testops_ids": [123]
}

Test Status Values

| Status | Description | |--------|-------------| | passed | Test completed successfully | | failed | Test failed with assertion errors | | skipped | Test was skipped | | broken | Test encountered unexpected errors preventing execution | | blocked | Test was blocked by external dependency | | invalid | Test configuration or data is invalid | | muted | Test failures are muted/ignored |

qase-report-history.json

History file for tracking test results across multiple runs. Enables trend analysis, flakiness detection, and stability scoring.

{
  "schema_version": "1.0.0",
  "runs": [
    {
      "run_id": "1707700000000",
      "title": "Test Run",
      "environment": "production",
      "start_time": 1707700000000,
      "end_time": 1707700060000,
      "duration": 60000,
      "stats": {
        "total": 100,
        "passed": 95,
        "failed": 3,
        "skipped": 2
      }
    }
  ],
  "tests": [
    {
      "signature": "auth.login.valid_credentials",
      "title": "User can login with valid credentials",
      "runs": [
        {
          "run_id": "1707700000000",
          "status": "passed",
          "duration": 150,
          "start_time": 1707700000000,
          "error_message": null
        }
      ]
    }
  ]
}

Key fields:

  • schema_version — Format version for future migrations
  • runs — Array of run summaries with stats
  • tests — Array of per-test history grouped by signature
  • signature — Stable test identifier (not UUID) for tracking across runs
  • error_message — First line of error, used for flakiness detection

Tech Stack

  • React 18 + TypeScript 5.9
  • Vite 5
  • shadcn/ui + Tailwind CSS v4
  • MobX for state management
  • TanStack Table + Virtual for performant tables
  • Recharts for visualizations
  • Zod v4 for schema validation

License

MIT