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.120.tar.gz
(453.1 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.120.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f993e62f3471ac0385ce98f7ff1894a683ee88c18e4cf73b4b4e9fce165f3025 |
|
MD5 | 04de807f388490c49518abfc6f08977f |
|
BLAKE2b-256 | 67089d0fa771c9eb4d99ab48ef76214d1c623f864f3d7bd5febd94f0c0161cba |
Close
Hashes for sealights_python_agent-0.2.120-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63fef144f0924d2544c7ae7e1a1665e7109351041a2dfa939c61544725967fe1 |
|
MD5 | dbc5a5136491e594ee73e13c4a92e047 |
|
BLAKE2b-256 | 95a49f1ee10ec659d97922c3f6dd20f9cad44c29e2c860e752732b4469adaf9e |