Skip to content

andrehora/testminer

Repository files navigation

Tests

TestMiner

TestMiner: https://andrehora.github.io/testminer/

Explore and visualize software testing across GitHub repositories. Understand how projects organize tests, how tests evolve, and which testing libraries are used.

TestMiner

Examples

Features

Org view: browse repositories for a GitHub organization

Org view

Topic view: browse repositories for a GitHub topic

Topic view

Repo view: dive into a single repository

Overview: test statistics, including test files, test helpers, and CI tests

Overview

Test Location: file tree chart showing where tests are located

Test Location

Test History: test metrics across releases

Test History

Test Dependencies: dependencies related to testing (from GitHub SBOM)

Test Dependencies

Files are automatically classified into categories: test, test-helper, e2e, mock, snapshot, fixture, benchmark, smoke, ci-test, and source.

Usage

Just open testminer and search by:

  • repository (e.g. https://github.com/fastapi/fastapi, or simply fastapi/fastapi)
  • organization/user (e.g. google, microsoft)
  • topic (e.g. ai, llm, api)

GitHub Token

Without a token, the GitHub API allows 60 requests/hour. Adding a read-only personal access token increases this to 5,000/hour. The token is stored only in your browser's localStorage.

Development

npm run dev     # Start dev server (Vite)
npm test        # Run unit tests (Vitest)
npm run e2e     # Run end-to-end tests (Cypress)

Stack

  • JavaScript, React, HTML5, CSS3
  • Vite
  • Chart.js
  • GitHub API, jsDelivr API
  • Vitest + Cypress for testing