Skip to main content

Python Agent

Project description

The sealights-python-agent package integrates with the Sealights` Continuous Testing Platform.

Language Support

  • Python 2.6

  • Python 2.7

Installation

To install sealights-python-agent: .. code-block:

$ pip install sealights-python-agent

Usage

Build Scan

To run the build scanner: .. code-block:

$ sealignts-admin --customer_id <customer_id> --app_name <app_name> --server https://prod-sealights-gw.sealights.co/api --branch <branch> --build <build> --env <env> build

1. Required

  • customer_id

  • app_name

  • server

2. Optional

  • env (default is “Unit Tests”)

  • build (default is “1”)

  • branch (default is “master”)

  • source - list of packages to scan (default is current working directory)

  • include - Include only files whose paths match one of these patterns (default is empty)

  • omit - Omit files whose paths match one of these patterns (default is empty)

Test Listener

1. Supported Test Frameworks:

  • unittest

  • unittest2

  • py.test

2. To run the Test Listener:

One Participant Mode (Tests and application on the same server)
$ sealignts-admin --customer_id <customer_id> --app_name <app_name> --server https://prod-sealights-gw.sealights.co/api --branch <branch> --build <build> --env <env> <unittest/unit2/pytest> <tests>
Multiple Participants (Tests on one server application on a second server)
Test Server
$ sealignts-admin --test_phase <test_phase> --customer_id <customer_id> --app_name <app_name> --server https://prod-sealights-gw.sealights.co/api --branch <branch> --build <build> --env <env> <unittest/unit2/pytest> <tests>
Application Server
  • Run Build Scan

  • Run Program using sealights-admin

$ sealignts-admin --test_phase <test_phase> --customer_id <customer_id> --app_name <app_name> --server https://prod-sealights-gw.sealights.co/api --branch <branch> --build <build> --env <env> run_program <program>

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.78.tar.gz (446.6 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.78-py2.py3-none-any.whl (559.9 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for sealights-python-agent-0.2.78.tar.gz
Algorithm Hash digest
SHA256 bb980b6480f5f21ff847c4d1b6fe27e8f5f40f3c4c85966425215cb643f1f6fe
MD5 82edae8f53716ff376105da3d96da758
BLAKE2b-256 a296fe5d7d3f18d6df53b6ad8e3798641799b0ef5b2b214a31be5aae3df44603

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sealights_python_agent-0.2.78-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7d6de74ad0676dc934bf6f392981b05af0b04b9dafc04f707aec5add6a019efc
MD5 a97a1065a7ca61102963e001134a1658
BLAKE2b-256 0a7e8f395581f75955a14b490e496cc27b8fc4e3aa3a930cb6732209d2467168

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