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.156.tar.gz
(454.7 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.156.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea0221c5149b682fe9972a334400a54751db9e6cc5620f3aefce372b78e9c140 |
|
MD5 | 95698e5cd22554d126d01a961ff92699 |
|
BLAKE2b-256 | cad15554e4f9fadb583a6a11a4893225deb4af2696a80b8a51e58712f3f1111d |
Close
Hashes for sealights_python_agent-0.2.156-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | baf8b0c80f9af5a55fe190ecdda72bb7f83b2add9e6b284268d60ee05acf3be2 |
|
MD5 | e29451d6a7a4cc3c23b72fddef2b6bb9 |
|
BLAKE2b-256 | 7db6cebf519423473d89cac6a32ccaece742ed09445fa0c949955990ea41ceb8 |