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.22.tar.gz
(429.3 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe8b8dfe6626f460641a22baef0cdb016dbe96bbbfc8c5512b4d55bd7879a62a |
|
MD5 | c615cb60e2ac918e8eec7f5a0694865a |
|
BLAKE2b-256 | 7cb78586116be209c43c4e1868bb34a4f076cc820c7219aa08eabcd9b8b6db00 |
Close
Hashes for sealights_python_agent-0.2.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 945fcaead70bbe983033ae08e39e6eda00cdfb8e972e557bb51c8a8b9ff289f8 |
|
MD5 | 7ad6d8b30542de577e8bef7eaea86fa4 |
|
BLAKE2b-256 | f898835ec8e50cfa22e8e0cc55f0bc44f88acf86e8f4bc0ed512211af5708dbe |