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.130.tar.gz
(453.0 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.130.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63d5709abd1266870ed4e9628ec531507b00a7182a6af668c9f965ad22489c42 |
|
MD5 | 28abf9faefca540120900ad387861806 |
|
BLAKE2b-256 | 556aefc72571e17006c5e5e805895c401b615fbf77e4fb8f76c61669fba18ba7 |
Close
Hashes for sealights_python_agent-0.2.130-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 977ae450ffcd6cc7316e7e92100e80a85d51e97ad8bfe81671ab76b3de730f99 |
|
MD5 | 002928e0842686e386133be31927a20e |
|
BLAKE2b-256 | 190301c93cdc4a668a242f7f4c5bdf7e843f4fd1accd1995487ece70b55386c1 |