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.24.tar.gz
(429.9 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5591f410c7e0867a74f941b2f6239438394f004ce0607b52a9ccccb2e1338de8 |
|
MD5 | 161a3a5ef35f76610c015fcdeb217bdd |
|
BLAKE2b-256 | 9ac9e3ae9e927486e0af5ded0fc8e6a2a10cb1ad887108c4369ce2825146789d |
Close
Hashes for sealights_python_agent-0.2.24-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdf65faa476cc57b0adf7ed905a7ee72da80c53b85440c61eca4a8b80a2153e3 |
|
MD5 | 9adb43684da5abfe30e686b0bf1e39fd |
|
BLAKE2b-256 | 21a9b27f9fe3a3ee21c3b2ba19b15cb51c5611637d7f912b2bd41dc47d882a37 |