UseCases.unittest_subprocess.binaries.noopts.EXITNOK package

Submodules

UseCases.unittest_subprocess.binaries.noopts.EXITNOK.CallCase module

example_E

Case for a testee with failure, exit 1: EXITNOK

EXIT:
1
STDOUT:
arbitrary output arbitrary signalling OK string arbitrary output
STDERR:
class UseCases.unittest_subprocess.binaries.noopts.EXITNOK.CallCase.CallUnits(*args, **kargs)[source]

Bases: epyunit.unittest.subprocess.TestExecutable

setUp()[source]
classmethod setUpClass()[source]
testCase000()[source]
testCase010()[source]
testCase011()[source]

Module contents

The UseCase EXITNOK demonstrates and verifies the basic facilities start of a script by epyunit.SysCall.

  • CallUseCase.py

    The main primary call of the UseCase. In dialogue mode this should be started by PyDev debugger from Eclipse.

  • epyunit/myscript.py

    The script provides hard-coded response output for the test of ePyUnit itself, but also wrapper processes in general.

The following figure depicts the components.
+------------------+         +-------------+
|                  |         |             |
|  CallUseCase.py  |  <--->  | myscript.py |  
|                  |         |             |
+------------------+         +-------------+
         A                          A
         |                          |
      UseCase                   a resource
   frame for tests               simulator