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.334 (2020-05-06)

  • bugfix - wrong xml coverage report when using pytest-xdist

0.2.330 (2020-03-11)

  • Handling not ready test recommendations

0.2.229 (2020-03-11)

  • Added better test recommendations error handling

0.2.228 (2020-02-22)

  • Fixed bug when running the agent after dependency update - gitdb2 - ModuleNotFoundError

0.2.219 (2019-10-30)

  • Pytest test selection support

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.234.tar.gz (465.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sealights_python_agent-0.2.234-py2.py3-none-any.whl (581.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sealights-python-agent-0.2.234.tar.gz.

File metadata

  • Download URL: sealights-python-agent-0.2.234.tar.gz
  • Upload date:
  • Size: 465.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.16

File hashes

Hashes for sealights-python-agent-0.2.234.tar.gz
Algorithm Hash digest
SHA256 21413896252af6c59c60883e4e20db336c5b91014f312b6017df4ab73a1403ea
MD5 9dc7f2bf2683a34abaf0f5b815a8f0ed
BLAKE2b-256 dabf1e69a73d992ef056ba5eeee5eafcc2acaba04b60c3696781f59a3cf54c87

See more details on using hashes here.

File details

Details for the file sealights_python_agent-0.2.234-py2.py3-none-any.whl.

File metadata

  • Download URL: sealights_python_agent-0.2.234-py2.py3-none-any.whl
  • Upload date:
  • Size: 581.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.16

File hashes

Hashes for sealights_python_agent-0.2.234-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7157cc83a4b39f5ad248f36d1bfcbb51bd0ecb7816e82367e4a97063d090148f
MD5 daa7e5a6cbfb2907b3725f464c269d9f
BLAKE2b-256 b4ffa5e243b5200145df09afdfa7e928819dbafb46c46a496234594913eead92

See more details on using hashes here.

Supported by

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