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 testmon.net.
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 https://docs.pytest.org/en/7.1.x/reference/customize.html)
# pytest.ini [pytest] tmnet_api_key = projectname_b0f74c20b0684cf19a51bbec6fae63bb # ...
# pyproject.toml [tool.pytest.ini_options] tmnet_api_key = "projectname_b0f74c20b0684cf19a51bbec6fae63bb" # ...
--tmnet argument keeps all the existing functionality and testmon
arguments but switches the persistence from .testmondata
--testmon and all the other
--testmon-nocollect can be
also used and work the same as if you worked locally. There is no synchronization between
.testmondata and testmon.net