andrehora/testminer
GitHub: andrehora/testminer
Stars: 2 | Forks: 0
[](https://github.com/andrehora/testminer/actions/workflows/tests.yml)
# 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.
## Examples
- Organizations: [Google](https://andrehora.github.io/testminer/#google), [Microsoft](https://andrehora.github.io/testminer/#microsoft), [Apple](https://andrehora.github.io/testminer/#apple), [Facebook](https://andrehora.github.io/testminer/#facebook), [Netflix](https://andrehora.github.io/testminer/#netflix),
[GitHub](https://andrehora.github.io/testminer/#github), [Apache](https://andrehora.github.io/testminer/#apache), [HuggingFace](https://andrehora.github.io/testminer/#huggingface)
- Topics: [ai](https://andrehora.github.io/testminer/#topic:ai), [llm](https://andrehora.github.io/testminer/#topic:llm), [api](https://andrehora.github.io/testminer/#topic:api), [nodejs](https://andrehora.github.io/testminer/#topic:nodejs), [android](https://andrehora.github.io/testminer/#topic:android), [python](https://andrehora.github.io/testminer/#topic:python), [typescript](https://andrehora.github.io/testminer/#topic:typescript), [rust](https://andrehora.github.io/testminer/#topic:rust)
- Repositories: [fastapi/fastapi](https://andrehora.github.io/testminer/#fastapi/fastapi), [prisma/prisma](https://andrehora.github.io/testminer/#prisma/prisma), [github/linguist](https://andrehora.github.io/testminer/#github/linguist)
## Features
### Org view: browse repositories for a GitHub organization
### Topic view: browse repositories for a GitHub topic
### Repo view: dive into a single repository
#### Overview: test statistics, including test files, test helpers, and CI tests
#### Test Location: file tree chart showing where tests are located
#### Test History: test metrics across releases
#### Test Dependencies: dependencies related to testing (from [GitHub SBOM](https://docs.github.com/en/rest/dependency-graph/sboms))
Files are automatically classified into categories: `test`, `test-helper`, `e2e`, `mock`, `snapshot`, `fixture`, `benchmark`, `smoke`, `ci-test`, and `source`.
## Usage
Just open [testminer](https://andrehora.github.io/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](https://www.chartjs.org/)
- GitHub API, jsDelivr API
- Vitest + Cypress for testing
标签:自定义脚本






