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.147.tar.gz
(454.6 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.147.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fddfab2f6000a0f8053e5aa8d355fffa25abfc7ea389b2226538502d2f89d3b |
|
MD5 | af6e6ef4b7206737d284a5a0c7b4336d |
|
BLAKE2b-256 | 197b597f4da2b73a85d4366ace886f1398bf294d66b4858327f45dbb41093113 |
Close
Hashes for sealights_python_agent-0.2.147-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a83859d144dbc5c25fdb8cb0d9a124e30ad9924f0c1ccd7a997fd006dd2641e |
|
MD5 | d22a254d91b12221e526deab5216cb2f |
|
BLAKE2b-256 | 12ba3611e5e514e69e55c7e0b531c2ea179170c5dd33db569ee9b0cdc706bb5a |