Have you followed the Get Started guide but still aren't seeing results? Here are a couple possible reasons:
Pytest lists all installed plugins in the sesssion header:
If you don't see flakytest listed in the plugins section make sure to install it:
============================= test session starts ==============================
platform darwin -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0
rootdir: /Users/anze/flakytest/flakytest-python-example
plugins: flakytest-2023.0b6 # <--- this line
collected 7 items
pip install flakytest
Check if the env variable is set:
echo $FLAKYTEST_API_KEY
It should print out your secret token. If it does not make sure to set it and then rerun pytest:
export FLAKYTEST_API_KEY=your-secret-token