Skip to main content

Tools for testing processes.

Project description

Tools for testing processes.

  • Free software: BSD 2-Clause License


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(
                self.wait_for_strings(, 10, # wait 10 seconds for process to output lines with these strings


  • TODO



  • tests

  • docs





Python 2.6, 2.7, 3.2, 3.3 or PyPy

Similar projects

  • TODO


2.1.2 (2020-07-23)

  • Fixed another regression caused by the universal_newlines for Windows.

2.1.1 (2020-07-23)

  • Fixed regression caused by the universal_newlines (now the internals don’t decode strings).

2.1.0 (2020-07-23)

  • Applied the cookiecutter-pylibrary templates.

  • TestProcess will use universal_newlines by default for the contained subprocess.Popen to make sure line buffering is actually used. This also fixes warnings on Python 3.

2.x (???)

  • Lots of wild stuff.

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

process-tests-2.1.2.tar.gz (11.6 kB view hashes)

Uploaded source

Built Distribution

process_tests-2.1.2-py2.py3-none-any.whl (5.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page