Skip to main content

Python Agent

Project description

#sealights-python-agent


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:
```
$ pip install sealights-python-agent
```
##Usage

###Build Scan

To run the build scanner:
```
$ 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.8.tar.gz (429.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sealights_python_agent-0.2.8-py2.py3-none-any.whl (995.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sealights-python-agent-0.2.8.tar.gz.

File metadata

File hashes

Hashes for sealights-python-agent-0.2.8.tar.gz
Algorithm Hash digest
SHA256 f13671d27a58e40454ff1ef1d42097a76a4c007819f853804a75203e514fc51d
MD5 925508c49926061cfa2e3cc5f40d5582
BLAKE2b-256 564e8754d65ccbcc458e777d8052023501a848371e7ac092767e1b1be8151acb

See more details on using hashes here.

File details

Details for the file sealights_python_agent-0.2.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sealights_python_agent-0.2.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 174bf8049eab1f989041d0cdf77ada94314bcda12331692867d57aa8e1c5a1b6
MD5 1644e713d13b3b205b1a7f76fd3214fb
BLAKE2b-256 29030befc245727110a5165453c08b8a784b51f07e8ffea76b347f56d478d67d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page