python/testSrc/com/jetbrains/env/README.md
See https://confluence.jetbrains.com/display/PYINT/PyCharm+tests+on+TeamCity
debug tests for debuggerpython all other testsSetup environments:
On Unix-like operating systems:
cd intellij/community/python/setup-test-environment/export ORG_GRADLE_PROJECT_buildDir=<path to build dir>echo $ORG_GRADLE_PROJECT_buildDir./gradlew -b build.gradle buildOn Windows:
cd intellij/community/python/setup-test-environment/set ORG_GRADLE_PROJECT_buildDir <path to build dir>echo %ORG_GRADLE_PROJECT_buildDir%gradlew.bat -b build.gradle buildSetup run configuration:
PYCHARM_PYTHONS=<path to build dir>/pythons (defined in ORG_GRADLE_PROJECT_buildDir)
(for example, PYCHARM_PYTHONS=/home/user/work/testenvs/pythons)or:
PYCHARM_PYTHON_ENVS and provide absolute paths to python executables with your os path separator
(for example, PYCHARM_PYTHON_ENVS=/home/user/.virtualenvs/py27/bin/python:/home/user/.virtualenvs/py36/bin/python)Run PyEnvTests run configuration