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.10.tar.gz
(429.5 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90f6a70c5cc4784d0ff80a31cdf65c87de1ffcb4d1a8cd01d06d216cbb34eeab |
|
MD5 | 3a3d2c43961756e12f305b5812505849 |
|
BLAKE2b-256 | 210eea3d9d7f4466dc5a7c31ffaa298d697ca9e2417a63c9670531b5fef4f5ae |
Close
Hashes for sealights_python_agent-0.2.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6a9bb9cf464ce50b397954f9715f6610aa82e0e6147a589291ec81fb9f6e63d |
|
MD5 | c1c6f3dd9281004b5c823ba991d8ad21 |
|
BLAKE2b-256 | 242de819acfa97156fe0e1f11c5b661aae058d720d34cbd9d784301ff940952c |