Metadata-Version: 2.1
Name: sealights-python-agent
Version: 0.2.205
Summary: Python Agent
Home-page: https://github.com/Sealights/SL.OnPremise.Agents.Python
Author: Shai Cantor
Author-email: shai@sealights.io
License: Other/Proprietary License
Keywords: sealights python agent setuptools development
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: APScheduler (==3.0.6)
Requires-Dist: coverage (==4.4.2)
Requires-Dist: unittest2 (==1.1.0)
Requires-Dist: cryptography (==2.1.4)
Requires-Dist: future (==0.16.0)
Requires-Dist: gitpython (==2.1.8)
Requires-Dist: astor (==0.7.1)
Provides-Extra: dev
Requires-Dist: check-manifest ; extra == 'dev'
Provides-Extra: test
Requires-Dist: coverage ; extra == 'test'

======================
sealights-python-agent
======================

The sealights-python-agent package integrates with the Sealights Quality Intelligence Platform.


****************
Language Support
****************
* Python 2.7
* Python 3.4
* Python 3.5
* Python 3.6


************
Installation
************
.. code-block::

    $ pip install sealights-python-agent


*****
Usage
*****

1. **Generating a session ID**

    .. code-block::

        $ sl-python config --appname myApp --branchname master --buildname 1 --exclude "*venv*"

2. **Scanning a build**

    .. code-block::

        $ sl-python build

3. **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...>


Changes
=======

0.2.201 (2019-07-14)
--------------------
* Use pytest + nose exit code

0.2.199 (2019-02-24)
--------------------
* Performance optimization
    * Added --per-test flag for pytest, nose, unittest, unit2 and run commands. default is on.

0.2.198 (2019-01-21)
--------------------
* changed default scm provider from github to null

0.2.197 (2019-01-14)
--------------------
* added --cov-report option to run command


