Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Hegel for Python 0.5.1
Hegel for Python 0.5.1

Hegel for Python

  • Tutorial
    • Your first test
    • Using generators
    • Writing your own generators
    • Understanding failures
    • Configuring tests
    • Stateful testing
  • How-to guides
    • Port tests from Hypothesis
    • Run Hegel in CI
    • See what your test generates
    • Suppress a health check
    • Draw from several threads
    • Run tests on Antithesis
  • Explanation
    • How Hegel works
    • Nondeterministic tests
    • Relationship to Hypothesis
    • Hegel for Python compared with Hypothesis
  • API reference
    • Tests and test cases
    • Generators
    • Low-level tools
    • Stateful testing
    • Settings
    • Errors
    • pytest integration
    • Printing values
  • Changelog
Back to top
View this page
Edit this page

Tutorial¶

The tutorial introduces Hegel one idea at a time, in an order where each page builds on the ones before it. Read it from the start if you’re new to property-based testing, or new to Hegel.

  • Your first test
  • Using generators
  • Writing your own generators
  • Understanding failures
  • Configuring tests
  • Stateful testing
Next
Your first test
Previous
Home
Copyright © the Hegel developers
Made with Sphinx and @pradyunsg's Furo