Skip to content
F

FlakyTest

Fix flaky tests

Freemium

#14280in Utilities
0In stores

Description

flakytest is an open-source profiler for pytest suites that shows where each test's time goes. It breaks every test into setup and call phas…

Highlights

  • Profiles every pytest test by phase
  • Points to the exact slow lines in your code
  • Ranked fixes with estimated savings per run
  • Knows the slow paths of Django, SQLAlchemy and FastAPI
  • Free and local, with an optional cloud

Ratings & Reviews

No ratings yet

Be the first to rate FlakyTest.

People also visit

F

fix

Fix failing or flaky Playwright tests

AI Skills
Get
P

pytest

Python's most powerful testing framework

AI Skills
Get
P

pytest-coverage

Run pytest with coverage reporting to identify and eliminate untested code lines

AI Skills
Get
P

python-testing

Python testing strategies

AI Skills
Get
A

axiom-testing

Writing ANY test, debugging flaky tests, making tests faster

AI Skills
Get
F

flutter-testing

Write, fix, review, debug, and validate Flutter tests for apps, packages

AI Skills
Get

FlakyTest FAQ

What does it need to run?

Python 3.11 or newer with any recent pytest, according to the site FAQ.

Does profiling slow the tests down?

The site says the overhead is small, because the profiler runs in a separate process and samples the test process.

What gets uploaded to the cloud?

Only when FLAKYTEST_SECRET_TOKEN is set. Setting FLAKYTEST_UPLOAD=0 keeps a run local.

How do I start?

Run pip install flakytest, then run pytest with the --flakytest-profile flag.

What are the best FlakyTest alternatives?

Popular alternatives to FlakyTest include TestDino and Speedscope. See all FlakyTest alternatives

Developer Stuff

Badges