Skip to content

K-dash/fastapi-hypothesis-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Hypothesis Property-Based Testing

This project includes code snippets for conducting property-based testing using Hypothesis on FastAPI endpoints. It contains test cases specifically for POST endpoints to facilitate basic operational checks.

Usage

  1. Start the containers with docker compose up -d.
  2. Run the tests with docker compose exec api pytest ../app/test_hypothesis.py -s.

About

Simple FastAPI Hypothesis Property-Based Testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published