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.26.tar.gz
(438.3 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3db6530fee99b4a39619e82504474f9d0c3e19a7b71f9c882b73419846f5dcc3 |
|
MD5 | fce0b8ce48d4bef3bddbf4434cbf5982 |
|
BLAKE2b-256 | a1e4f945b643342f6c6218d2e28a3555862110cd54d788741776b230acc50995 |
Close
Hashes for sealights_python_agent-0.2.26-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee7cc2bbcb72d4a35a3bdfe780172138504da01f72a43c8962db77ae8993e1bc |
|
MD5 | 4eae9c8df94f4d45df0443e6d728d4ab |
|
BLAKE2b-256 | 893c494925ce1a93f83e33081f640342c05620586569c38992a63f81a5b55b37 |