Info |
---|
The PyTest action in Continua is a wrapper around the pytest.exe command line. If you're having trouble using the PyTest action, please refer to the Command Line Reference. |
Pip Download action is used to download python packages to the workspacePyTest action is a test framework for Python applications and libraries.
Pytest
Working Folder
The working directory for the pip command line. Leave blank to default to the workspace folder.
Package To Download
The name of the Python package, the URL of the VCS project, a local project directory, or the path/URL of a local/remote package archive to install. Leave blank or '.' to search in working folder.
...
Tests
Path to files or directories containing tests to run. Run specific tests within a module by specifying its node id. One path per line.
Root Directory
Install packages from the given requirements files. One file path per line. [--requirement]
Output Directory
The path to the root directory the packages will be downloaded to. Defaults to the current working directory. [--destfor tests. [--rootdir]
Report File
The path to store JUnit-XML style report. [--junit-xml]
Use command line executable in virtual environment scripts folder if it exists.
If this is ticked and exists, the pytest executable in the virtual environment scripts folder will be used instead.
Install PyTest on agent using Pip
If this is ticked, PyTest is installed on the agent using Pip.
Using
The Using drop down is populated by any property collector properties whose namespace matches the pattern defined by the PyTest action. The pattern for this action is ^PyTest\..*
. The default property collector searches the environment path for "pytest.exe".
If you create a property collector for this action, make sure you select the Path Finder PlugIn type and give it a name that will match the pattern above in blue. Example names listed here, search the table's Plugin column for "PyTest".
For more in-depth explanations on property collectors see Property Collectors.
Alternatively, you can select the Custom option from the Using drop down list and specify a path in the resulting input field that will be displayed. Please read Why it's a good idea to use a property collector before using this option.
Pip
Use an alternate source to PyPI to install PyTest
If this is ticked, PyPI is not used as a source to install PyTest.
Package Source
The PyTest package source to use for the install.
Install project in editable mode
If this is ticked, the project is installed in editable mode.
Source Directory
Visible only if the checkbox 'Install project in editable mode' is ticked.
The irectory to check out editable projects into. The default in a virtualenv is “<venv path>\src”. The default for global installs is “<current dir>\src”.
Install pre-release or development package version
If this is ticked, pip will also find pre-release and development versions. By default, pip only finds stable versions. [--pre]
Disable cache
If this is ticked, the cache is disabled. [--no-cache-dir]
Pip Verbosity
The amount of information detail to display in the build log. [-qqq | -qq | -q | -v]
Use command line executable in virtual environment scripts folder if it exists.
If this is ticked and exists, the pip executable in the virtual environment scripts folder will be used instead.
...
Using Pip
The Using drop down is populated by any property collector properties whose namespace matches the pattern defined by the
...
Pip Install action. The pattern for this action is
...
^Pip\..*
. The default property collector searches the environment path for "
...
pip.exe".
If you create a property collector for this action, make sure you select the Path Finder PlugIn type and give it a name that will match the pattern above in blue. Example names listed here, search the table's Plugin column for "
...
Pip".
For more in-depth explanations on property collectors see Property Collectors.
Alternatively, you can select the Custom option from the Using drop down list and specify a path in the resulting input field that will be displayed. Please read Why it's a good idea to use a property collector before using this option.
Settings
Non-Binary Packages
...