How does pytest runner interact with TeamCity

Hi all,

I was looking at the file `_jb_pytest_runner.py` that PyCharm runs when using a Pytest run configuration.

I see that it loads the `pytest-teamcity` plugin, which contains the `pytest_plugin` file. Here’s a link to the file I’m referring to:

https://github.com/JetBrains/intellij-community/blob/1e05f4447723efe125034ffad6a3764387893163/python/helpers/pycharm/teamcity/pytest_plugin.py

I was curious how it interacts with TeamCity (and how it spins up an instance of TeamCity if necessary). Further, I was curious how pytest output goes through TeamCity and then eventually ends up in the “Run” output of PyCharm.

Also, would the TeamCity Server instance show up in Task Manager on Windows?