Schemathesis

Paket

Generate property-based API tests from OpenAPI or GraphQL schemas

Fiyat
Free, open source
Erişim
Target API credentials if required

Hakkında

Schemathesis generates and executes API tests from OpenAPI or GraphQL schemas, checking responses and exploring edge cases. It runs as a CLI or Python library against a reachable test endpoint. Generated operations can change test data; supply required endpoint credentials.

Neler yapabilirsin

  • Generate API tests from an OpenAPI schema instead of writing every case
  • Find server errors and schema violations with generated edge-case inputs
  • Test GraphQL endpoints and chained API workflows against a test environment

Başlarken

  1. Install Schemathesis or run it with uvx
  2. Use a test endpoint and its OpenAPI or GraphQL schema
  3. Limit operations and pass test credentials where needed

Örnek kod

# Restrict generated tests to GET operations on your test API
uvx schemathesis run "$TEST_OPENAPI_URL" --include-method GET

Ayrıntılar

Barındırma
Kendi bilgisayarında
Kullanılabildiği yerler
Tüm dünya
Resmi SDK'lar
Python
MCP sunucusu
Yok

Görevler

Alternatifler

Aynı görevler için başka araçlar.

Son kontrol: .