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.125.tar.gz
(452.8 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.125.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba63231b21708392cb7bd8d54b2b9bad54f94fc71a5aba849bb63591904076ce |
|
MD5 | 43bcc6fd3922b036c709377a3b8cf65e |
|
BLAKE2b-256 | b84b8ec741ba57f23509bf7973a19218d430677111f14c2497334a71c2223cdc |
Close
Hashes for sealights_python_agent-0.2.125-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d115581e6dda033d52badcde6f780ebaf859de197a997c9e56278f5351a7df95 |
|
MD5 | 7bc5e604d1e7b3fe69c1202e6b0fb990 |
|
BLAKE2b-256 | cea9911b2c08614cee6f4d12fe94ea39f2c9f0199616933aa9b0d9b8b0c91134 |