Skip to content

krischer/seishub.functional_tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Functional testing suite for SeisHub.

The goal is to treat SeisHub as a black box and just test its behaviour. This is not meant to replace the SeisHub internal unit tests but rather augment and complement it. Certain things are just hard/impossible to test with unit testing, especially in a complex software package.

So far it is very simple but the plan is to enhance it quite a bit.

Currently only works with this SeisHub branch:

https://github.com/krischer/seishub.core/tree/granular_authorization

Requirements

  • seishub.core
  • setuptools
  • colorama

Installation

Checkout the repository

git clone https://github.com/krischer/seishub.functional_tests
cd seishub.functional_tests

and then either

python setup.py install

or (if you prefer pip and have it installed)

pip install .

should do the trick.

Usage

python -m seishub.functional_tests

By default stdout, stderr, and stdin from the SeisHub server are caught by the test runner. To enable debugging, e.g. setting a trace or something similar, this must not be the case. Disable it with

python -m seishub.functional_tests debug

About

Functional testing suite for SeisHub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages