Skip to main content

Framework for test development

Project description

About

This is framework for test development. It makes life so easy because has flexible structure. If you are needing for extension which is not, that you can to create issue on github or implemented it and send merge request.

Features

  • Built-in extensions

  • Async launch at choice

  • Real suite objects

  • Test script by steps

  • Test case as class, function or static function

  • Context flow for test execution

  • XUnit xml report

  • Detailed reason of crash by any problem

  • Logical layers for all runnable objects

  • Time of execution measured separately for any of runnable objects

  • Opportunity to repeat test with help generator object

Installation

Full installation:

pip install seismograph

Simple install(for unit testing, without extensions):

SIMPLE_SEISMOGRAPH=true pip install seismograph

With choice extensions:

SEISMOGRAPH_EXTENSIONS='selenium, mocker' pip install seismograph

Documentation

http://pythonhosted.org/seismograph/

Quick start

import seismograph


suite = seismograph.Suite(__name__)


@suite.register
def my_first_test(case):
    case.assertion.equal(1, 1)


if __name__ == '__main__':
    seismograph.main()

Run tests

seismograph /path/to/suites/

or like

python -m seismograph /path/to/suites/

Async run

  • multiprocessing

  • threading

  • gevent (for python 2 only)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seismograph-0.5.4.tar.gz (71.2 kB view details)

Uploaded Source

File details

Details for the file seismograph-0.5.4.tar.gz.

File metadata

  • Download URL: seismograph-0.5.4.tar.gz
  • Upload date:
  • Size: 71.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15

File hashes

Hashes for seismograph-0.5.4.tar.gz
Algorithm Hash digest
SHA256 3d2b39a459f5b1eb1f5e97da808d09cf359fcf8ac760456b6b0875328989c943
MD5 c7a39d6d5cfe32c35e2c713578349348
BLAKE2b-256 add2e29174ecc6657276f78a498edaacaefa0f78b43b51dd221a3450b8947ee8

See more details on using hashes here.

Supported by

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