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.9.tar.gz
(429.4 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dbae7188094f60e38137354df8f8714ec915241708a8f8a1bbf42578954cd03 |
|
MD5 | 1bac9f38e05ef486f92265746b090ff8 |
|
BLAKE2b-256 | 79ea3b827450b7d83cb5c05a94c0349c5616998fc4fbef80e905f252fb705bcd |
Close
Hashes for sealights_python_agent-0.2.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d01b2bfc180a161cd87e5fd90f668a2dca40ec98466cca50798f7e5243c3385 |
|
MD5 | 641869cc95d73fa7ee01f0c20fd103df |
|
BLAKE2b-256 | 1e3114b34bc99adeb4ed6d29b6f2cd52dd1ac4d4dcd2cba156a73f7a18ae8d19 |