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.14.tar.gz
(428.9 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe2d191f81bc2eefae008dc790d8ee3ea7955e004d9034f31633c0b53fcde3b |
|
MD5 | b6e017a363f30421207d979cfda4face |
|
BLAKE2b-256 | f9e3573ee25b6fc00b1080c6909793d44bedabca5b22e3a441a1e3480f669b71 |
Close
Hashes for sealights_python_agent-0.2.14-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d6ceddd452e8cc1aa8ead1728c8bda11e07b5e8b7704452038cc3ad90206eb5 |
|
MD5 | 9fdd45911e3d170fb77ce16694c22b80 |
|
BLAKE2b-256 | 083ffa36cc2a324214f59ddd3a0a648f13f7a40556ec1d93748f2fef811f4db6 |