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.21.tar.gz
(429.3 kB
view hashes)
Built Distribution
Close
Hashes for sealights-python-agent-0.2.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe31bc77a2756e33415daf21f214e3351d00775526fd1b18a4c7d8ddfea348e3 |
|
MD5 | 66bdf15ddaa6a59b4a82aabf005fda45 |
|
BLAKE2b-256 | 89b6f0b919891933bb2abdbc59aad34a6da9d0aa8dda4c26266e7ca27f8c633f |
Close
Hashes for sealights_python_agent-0.2.21-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 189ef5496502066f5fd0ad7bd27d192c367a4f8e67c22ce531ad3de243644436 |
|
MD5 | 846c0e2f8fea5aeb77fcb8012b0b648b |
|
BLAKE2b-256 | 27f6b3d45a1a4af465e8e85fac80c9cdda09fad67941ac114228eebe595e7f1c |