Skip to main content

Tools for testing processes

Project description

PYPI Package

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

Examples

TODO

  • tests

  • docs

Requirements

OS:

Any

Runtime:

Python 2.6, 2.7, 3.2, 3.3 or PyPy

Similar projects

  • TODO

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-0.6.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

process_tests-0.6.0-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file process-tests-0.6.0.tar.gz.

File metadata

  • Download URL: process-tests-0.6.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for process-tests-0.6.0.tar.gz
Algorithm Hash digest
SHA256 b12ab6ee33567c9a95dab8856b639909af4fbb1435a879a901a166c62ccece97
MD5 2cd3da61c5064e9ac9a2b0a472c26449
BLAKE2b-256 d7947d97c9d9b5b24965912fe8cec1804385fa2085f45c52bb70d5bd77c53811

See more details on using hashes here.

File details

Details for the file process_tests-0.6.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for process_tests-0.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b41dfa78395d971ba6621c8d51e47987111e95c171ac647122fb21b1e4a82294
MD5 e2dab867c625a8fa30a2e89b05d42d9b
BLAKE2b-256 d392856655e89c33c6e5a7d78c65623dd5cb82ad2b7099886c85530b7c2f1625

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