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.148.tar.gz
(454.6 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.148.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f0973f2d08402f28ea7e37ec9d04ed99a6f8d9aac9df4f47a341d1401ac3c51 |
|
MD5 | a2a68167b6e1325b10ee0f89f241abc1 |
|
BLAKE2b-256 | d15b1935be0baad95de129e7b291a0ac365052d20d7f17100e419dc80a864538 |
Close
Hashes for sealights_python_agent-0.2.148-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73d128972e428cbd84f4f34bbfd93ac23f8018723e796e8c2899538d0a6fc03c |
|
MD5 | 43f9fec7c03d848bd2df3884d4a0b7c3 |
|
BLAKE2b-256 | 1cb0d1954571c6a54c75eddc9c76e6494f9b236b2c57126207976199d3e9bdae |