Skip to main content

Python Agent

Project description

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

  • Python 3.7

Installation

$ pip install sealights-python-agent

Usage

  1. Generating a session ID

    $ sl-python config --appname myApp --branchname master --buildname 1 --exclude "*venv*"
  2. Scanning a build

    $ sl-python build
  3. Running your tests

    3.1 Running tests with unittest

    $ sl-python unittest --teststage "Unit Tests" <your args...>

    3.2 Running tests with pytest

    $ sl-python pytest --teststage "Unit Tests" <your args...>

    3.3 Running tests with unittest2

    $ sl-python unit2 --teststage "Unit Tests" <your args...>

Changes

0.2.213 (2019-10-16)

  • Python 3.7 support

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sealights-python-agent-0.2.217.tar.gz (465.3 kB view hashes)

Uploaded Source

Built Distribution

sealights_python_agent-0.2.217-py2.py3-none-any.whl (580.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page