pytest-dev/pytest
GitHubThe pytest framework makes it easy to write small tests, yet scales to support complex functional testing
- hacktoberfest
- python
- test
- testing
- unit-testing
- Stars:
- 14.6k
- Language:
- Python
- Default branch:
- main
- Last scored:
At a glance
- Rank
- #122 of 401
- Top 30% · #27 of 57 Python repos
- Checks passed
- 8 of 17
- Full list below
- Best set up for
- Claude Code
- Score 78.0
- Needs most work for
- Cursor
- Biggest fix: Cursor rules (.cursor/rules) (+11.5 pts)
What it has
What it's missing
What to fix first
Showing fixes for Claude Code
- 1AGENTS.md / CLAUDE.mdAdd an AGENTS.md covering project goals, layout, setup commands, and conventions. Aim for 800+ chars of real guidance (not boilerplate).+13.2 pts
- 2Test suiteAdd a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.+3.9 pts
- 3Reproducible dev envAdd a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.+3.6 pts
Score for each AI agent
Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →
Does pytest-dev/pytest have agent instructions?
An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.
- AGENTS.md / CLAUDE.md
- None at the root (no AGENTS.md, CLAUDE.md, AGENT.md, .claude/CLAUDE.md or .claude/AGENTS.md)
- Agent-specific files
- None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
- Repos that have one
- 29 of 57 Python repos · 218 of 401 repos on the leaderboard · See examples →
All 17 checks · 8 passed
How pytest-dev/pytest compares
- vs leaderboard average
- 7.4 pts above
- Average 66.8
- vs Python average
- 3.2 pts above
- Average 71.0
- Stars among Python repos
- #51 of 57
Missing here, and how many repos have it
- Skills (.agents/skills) · passed by 17% of leaderboard repos, 19% of Python repos
- Cursor rules (.cursor/rules) · passed by 4% of leaderboard repos, 7% of Python repos
Passes checks most repos miss
- Pre-commit / git hooks · only 29% of repos pass it
One fix for the most agents: AGENTS.md / CLAUDE.md would raise the score for all 9 agents, by up to 13.3 points.
Similar repos
Same language and host as this repo, closest in overall score.
- Python · 37.5k ★
- Python · 11.5k ★
- crewAIInc/crewAI73.6Python · 60.2k ★
- ray-project/ray73.6Python · 44.1k ★
- Kludex/starlette72.1Python · 12.7k ★
- Python · 34.8k ★
Same topics, any language
Repos tagged with the same GitHub topics, most shared first.
- TypeScript · test, testing
- TypeScript · test
- jestjs/jest71.1TypeScript · testing
- TypeScript · testing
- stretchr/testify55.6Go · testing
- mockk/mockk54.1Kotlin · testing
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](https://agentfriendlycode.com/repo/github/pytest-dev/pytest)Check the score on every pull request
A GitHub Action posts one comment per pull request with how the score changed and why.