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.12.tar.gz
(428.9 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e472455efb241c952ff57d5bbae018f345a83ff4e3ef23016cb69c388bc08cad |
|
MD5 | f882f58a32128dab06145c2a684cd1c4 |
|
BLAKE2b-256 | 3d4a01ad81cbcf3baa321041e201233ce35ab0a91ffc607adaf68ae3015a6503 |
Close
Hashes for sealights_python_agent-0.2.12-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d46682adb9ade9a10a45684f61263f0333f5009084536cdf41095f4881c7a354 |
|
MD5 | 5f186b6c3e081c0b5ceb0247ae5db18f |
|
BLAKE2b-256 | ca3986530b2ab1e8c2159d89473024dc56a6fc243e38229b2ca74c86873311c7 |