Skip to main content

Python Agent

Project description

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

Language Support

  • Python 3.6

  • Python 3.7

  • Python 3.8

  • Python 3.9

  • Python 3.10

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

1.0.14 (2022-11-20)

  • Added support for Python 3.8, 3.9, 3.10

1.0.6 (2022-08-30)

  • Fixed “TIA Not Supported” Indicator for Test Optimization

1.0.5 (2022-07-05)

  • Dropped support for Python 2.7, 3.4 and 3.5.

  • Upgraded dependencies

  • Using coverage.py 6

  • Bugfix: build session ids and lab ids were not encoded

0.2.247 (2022-05-19)

  • 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.

0.2.245 (2022-03-28)

  • bugfix - test recommendations were running more tests than expected

0.2.244 (2022-02-20)

  • Added support for pytest-xdist version 2 and above

0.2.243 (2022-02-16)

  • bugfix - test recommendations API upgraded to v3

0.2.240 (2021-12-02)

  • entry log “Not upgrading agent” is now INFO

0.2.238 (2021-07-22)

  • bugfix - nose args were parsed incorrectly. First arg was ignored.

0.2.234 (2020-05-06)

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

0.2.230 (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

This version

1.4.2

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-1.4.2.tar.gz (1.3 MB 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-1.4.2-py2.py3-none-any.whl (1.5 MB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: sealights-python-agent-1.4.2.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

File hashes

Hashes for sealights-python-agent-1.4.2.tar.gz
Algorithm Hash digest
SHA256 cb3bf9478bc96381cf7575ecc08e45a0bb3d69233545872d6bd4362a73b28a03
MD5 b49406d17d07103cc8c9b79e073e43ef
BLAKE2b-256 595f74dfd9d541743c93b084ba3129cea4a042308efe51d6d4fc7ef42e27a0eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sealights_python_agent-1.4.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

File hashes

Hashes for sealights_python_agent-1.4.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c7ef4fc1ea25489a6abd0a667e2a37d8ccbdfcd062057c32839a885c5d38e871
MD5 df3bce3139fa88fa4242f0d95bdac0dc
BLAKE2b-256 54eb541ab636bc6953d599c334900601c3577cf80788f71d3afe9dc71e90c711

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