{"repo":"Lujeni/pytest-fastprom","free":true,"listed":false,"github":"https://github.com/Lujeni/pytest-fastprom","clone":"git clone https://github.com/Lujeni/pytest-fastprom.git","description":"Turn your SLOs into pytest assertions.","language":"Python","stars":32,"topics":["fastapi","performance-testing","prometheus","pytest","pytest-plugin","smoke-test"],"license":null,"category":"analytics","readme_excerpt":"pytest-fastprom Turn your SLOs into pytest assertions. Smoketest your FastAPI against the latency and error budgets you actually promised. Built on the Prometheus metrics your app already exposes, not wall-clock timeit guesses. Or declare the SLO right on the test: Features - Prometheus-native . Asserts on real histogram metrics, not stopwatch timing. - Isolated registry per test. No metric leaks between tests. - SLO assertions on P50, P99, request counts, and error rates. - Custom metrics . assert metric checks any Counter/Gauge/Histogram your app exposes. - Error budgets . max error rate / max 4xx rate assert a ratio, not just a zero count. - Regression detection . Save a baseline, fail the build when it drifts. - Environment-aware baselines . Saved runs record git commit + machine info and warn on cross-machine comparisons. - Warmup support. Cold starts stay out of your measurement window. Install Docs Full guide, marker reference, and regression detection: .","default_branch":null,"files":null,"tree":[],"storefront":"/r/Lujeni","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Lujeni/pytest-fastprom/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}