How to use

It’s very simple! If you’re not familiar with pytest-testmon it’s probably the right time to read the (short) docs and try testmon locally. The local collection of data and compatibility with various plugins is battle tested by the thousands of users who use it every day. With version 2.0 pytest-testmon became a client for


By becoming a part of the private beta you received a tmnet_api_key for each project which you want to enroll. You have to add this to your configuration for pytest (pytest.ini, pyproject.toml or any other place where you configure your pytest


# pytest.ini
tmnet_api_key = projectname_b0f74c20b0684cf19a51bbec6fae63bb
# ...


# pyproject.toml
tmnet_api_key = "projectname_b0f74c20b0684cf19a51bbec6fae63bb"
# ...

–tmnet: independent and intelligent persistence

The new --tmnet argument keeps all the existing functionality and testmon arguments but switches the persistence from .testmondata to --tmnet implies --testmon and all the other arguments like --testmon-noselect, --testmon-forceselect, --testmon-nocollect can be also used and work the same as if you worked locally. There is no synchronization between local .testmondata and