skip to navigation
skip to content

process-tests 2.0.0

Tools for testing processes

Tools for testing processes.

Usage

from process_tests import ProcessTestCase
from process_tests import TestProcess

class MyTestCase(ProcessTestCase):
    def test_simple(self):
        with TestProcess('mydaemon', 'arg1', 'arg2') as proc:
            with self.dump_on_error(proc.read):
                self.wait_for_strings(proc.read, 10, # wait 10 seconds for process to output lines with these strings
                    'Started',
                    'Working',
                    'Done',
                )

Features

  • TODO

TODO

  • tests
  • docs

Requirements

OS:Any
Runtime:Python 2.6, 2.7, 3.2, 3.3 or PyPy

Similar projects

  • TODO
 
File Type Py Version Uploaded on Size
process-tests-2.0.0.tar.gz (md5) Source 2018-01-08 4KB
process_tests-2.0.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2018-01-08 5KB