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.85.tar.gz
(447.0 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.85.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb533d0890e5d9b61ef9f01cc70074c8b276c0b68bae246f7bc532ca06f28448 |
|
MD5 | 55958b0a68becad948577ad9ecf428f0 |
|
BLAKE2b-256 | e7faea45811755046cdf4e7000ea83eda65b81a598c4fb3fff2bff8a774f344d |
Close
Hashes for sealights_python_agent-0.2.85-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d949fb3a31463be82114af754df8aa8495fb652b4c81fb72ab788a8ec78dfef |
|
MD5 | acd652d5571b798709d8b2def4c44e14 |
|
BLAKE2b-256 | 8391e43c8f32bd0eedb9ec23999d20ae122715fe86a1650cd48ed90e5c769e24 |