{"id":13468816,"url":"https://github.com/schemathesis/schemathesis","last_synced_at":"2026-04-05T20:03:26.941Z","repository":{"id":37439326,"uuid":"203157084","full_name":"schemathesis/schemathesis","owner":"schemathesis","description":"Supercharge your API testing, catch bugs, and ensure compliance","archived":false,"fork":false,"pushed_at":"2025-05-11T09:18:16.000Z","size":70219,"stargazers_count":2494,"open_issues_count":74,"forks_count":173,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-05-11T11:05:01.848Z","etag":null,"topics":["cli","graphql","hacktoberfest","hypothesis","openapi","openapi3","property-based-testing","pytest","swagger","testing"],"latest_commit_sha":null,"homepage":"https://schemathesis.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schemathesis.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.rst","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"Stranger6667"}},"created_at":"2019-08-19T11:13:01.000Z","updated_at":"2025-05-11T07:16:48.000Z","dependencies_parsed_at":"2023-10-22T18:38:37.252Z","dependency_job_id":"4bab0e81-ded3-4efe-a008-8990ad3d3837","html_url":"https://github.com/schemathesis/schemathesis","commit_stats":{"total_commits":2492,"total_committers":66,"mean_commits":37.75757575757576,"dds":0.6087479935794542,"last_synced_commit":"e42d01561df08caa81869a8e24c06b2ae14fa152"},"previous_names":["kiwicom/schemathesis"],"tags_count":330,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schemathesis%2Fschemathesis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schemathesis%2Fschemathesis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schemathesis%2Fschemathesis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schemathesis%2Fschemathesis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schemathesis","download_url":"https://codeload.github.com/schemathesis/schemathesis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253554082,"owners_count":21926611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","graphql","hacktoberfest","hypothesis","openapi","openapi3","property-based-testing","pytest","swagger","testing"],"created_at":"2024-07-31T15:01:19.676Z","updated_at":"2026-01-11T23:51:57.557Z","avatar_url":"https://github.com/schemathesis.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/schemathesis/schemathesis/actions\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://github.com/schemathesis/schemathesis/actions/workflows/build.yml/badge.svg\" alt=\"Build\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/schemathesis/schemathesis/branch/master\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://codecov.io/gh/schemathesis/schemathesis/branch/master/graph/badge.svg\" alt=\"Coverage\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/schemathesis/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/v/schemathesis.svg\" alt=\"Version\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/schemathesis/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/pyversions/schemathesis.svg\" alt=\"Python versions\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://discord.gg/R9ASRAmHnA\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/discord/938139740912369755\" alt=\"Discord\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://opensource.org/licenses/MIT\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/l/schemathesis.svg\" alt=\"License\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## Schemathesis\n\n\u003e **Catch API bugs before your users do.** \n\nSchemathesis automatically generates thousands of test cases from your OpenAPI or GraphQL schema and finds edge cases that break your API.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/schemathesis/schemathesis/master/img/demo.gif\" alt=\"Schemathesis automatically finding a server error\"/\u003e\n  \u003cbr\u003e\n  \u003ci\u003eFinding bugs that manual testing missed\u003c/i\u003e\n\u003c/p\u003e\n\n## Try it now\n\n```console\n# Test a demo API - finds real bugs in 30 seconds\nuvx schemathesis run https://example.schemathesis.io/openapi.json\n\n# Test your own API\nuvx schemathesis run https://your-api.com/openapi.json\n```\n\n\n## What problems does it solve?\n\n- 💥 **500 errors** that crash your API on edge case inputs\n- 📋 **Schema violations** where your API returns different data than documented\n- 🚪 **Validation bypasses** where invalid data gets accepted\n- 🔗 **Integration failures** when responses don't match client expectations\n- 🔄 **Stateful bugs** where operations work individually but fail in realistic workflows\n\n\n\u003e ⚠️ **Upgrading from older versions?** Check our [Migration Guide](https://github.com/schemathesis/schemathesis/blob/master/MIGRATION.md) for key changes.\n\n# Installation \u0026 Usage\n\n**Command Line:**\n```console\nuv pip install schemathesis\nschemathesis run https://your-api.com/openapi.json\n```\n\n**Python Tests:**\n```python\nimport schemathesis\n\nschema = schemathesis.openapi.from_url(\"https://your-api.com/openapi.json\")\n\n@schema.parametrize()\ndef test_api(case):\n    # Tests with random data, edge cases, and invalid inputs\n    case.call_and_validate()\n\n# Stateful testing: Tests workflows like: create user -\u003e get user -\u003e delete user\nAPIWorkflow = schema.as_state_machine()\n# Creates a test class for pytest/unittest\nTestAPI = APIWorkflow.TestCase\n```\n\n**CI/CD:**\n```yaml\n- uses: schemathesis/action@v2\n  with:\n    schema: \"https://your-api.com/openapi.json\"\n```\n\n## Who uses it\n\nUsed by teams at **[Spotify](https://github.com/backstage/backstage)**, **[WordPress](https://github.com/WordPress/openverse)**, **JetBrains**, **Red Hat**, and dozens of other companies.\n\n\n\u003e \"_Schemathesis is the best tool for fuzz testing of REST APIs on the market. We at Red Hat use it for examining our applications in functional and integration testing levels._\" - Dmitry Misharov, RedHat\n\n## See it in action\n\n🔬 **[Live Benchmarks](https://workbench.schemathesis.io)** showing continuous testing results from real-world APIs:\n\n- Code \u0026 API schema coverage achieved\n- Issues found with detailed categorization\n- Performance across different fuzzing strategies\n\n## Documentation\n\n📚 **[Documentation](https://schemathesis.readthedocs.io/en/stable/)** with guides, examples, and API reference.\n\n## Get Help\n\n- 💬 [Discord community](https://discord.gg/R9ASRAmHnA)\n- 🐛 [GitHub issues](https://github.com/schemathesis/schemathesis/issues)\n\n## Contributing\n\nWe welcome contributions! See our [contributing guidelines](CONTRIBUTING.md) and join discussions in [issues](https://github.com/schemathesis/schemathesis/issues) or [Discord](https://discord.gg/R9ASRAmHnA).\n\n## Acknowledgements\n\nSchemathesis is built on top of \u003ca href=\"https://hypothesis.works/\" target=\"_blank\"\u003eHypothesis\u003c/a\u003e, a powerful property-based testing library for Python.\n\n## License\n\nThis project is licensed under the terms of the [MIT license](https://opensource.org/licenses/MIT).\n","funding_links":["https://github.com/sponsors/Stranger6667"],"categories":["Python","Testing","Implementations","Application Security","测试","Automated API Testing \u0026 Load Testing Tools","Projects","cli","Specialized \u0026 Niche Tools","Web Testing","Don't forget to give a :star: to make the project popular"],"sub_categories":["Querying","JavaScript/TypeScript","API Fuzzing","48. [Schemathesis](https://schemathesis.readthedocs.io/)","API Testing"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschemathesis%2Fschemathesis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschemathesis%2Fschemathesis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschemathesis%2Fschemathesis/lists"}