Tools & Dataset

Pytest-flakefighters

Pytest Plugin · Available as an open-source Python package · Flaky Test Detection & Classification

Pytest-flakefighters is a pytest plugin implementing flaky test failure detection and classification. The plugin is composed of a collection of heuristics that work together to determine whether a test failure is genuine or flaky.

These heuristics come in two flavours: those that execute live after each test, and those that run after the entire test suite completes. All heuristics extend the FlakeFighter base class and implement the flaky_failure method, which returns true when a failure is deemed flaky.