Python Agent
The sealights-python-agent package integrates with the Sealights Quality Intelligence Platform.
Language Support
Installation
.. code-block::
$ pip install sealights-python-agent
Usage
Generating a session ID
.. code-block::
$ sl-python config --appname myApp --branchname master --buildname 1 --exclude "*venv*"
Scanning a build
.. code-block::
$ sl-python build
Running your tests
3.1 Running tests with unittest
.. code-block::
$ sl-python unittest --teststage "Unit Tests" <your args...>
3.2 Running tests with pytest
.. code-block::
$ sl-python pytest --teststage "Unit Tests" <your args...>
3.3 Running tests with unittest2
.. code-block::
$ sl-python unit2 --teststage "Unit Tests" <your args...>
feature - tests can now run using labid only if build session id is not known.
Relies on at least one app that is active and configured with the same lab id.