API Shortcuts - epyunit¶
epyunit - CLI¶
CLI Wrapper for filtered subprocess calls and streaming of results. The call interface is provided by two flavours of names, where the executable is the same, but with different ‘shebang lines’.
Main CLI interface
- epyu - Prefered call on Linux, BSD, Unix, and MacOS for use in cimnjunction with the ‘shebang line’.
- epyu.py - Prefered call on MS-Windows for use in conjunction with PATHEXT.
- epyd.py - Support utility for remote debug by ‘pydevd.py’.
.
[docs] [source] epyu epyu - CLI call epyu.py epyu.py - CLI call epyd.py epyd.py - CLI call
epyunit.unittest.subprocess¶
Classes derived from unittest for seamless integration of subprocess tests into PyUnit.
TestExecutable
epyunit.SubprocUnit¶
Library for subprocesses as units. Based on ‘epyunit.SystemCalls’ for execution and fetch of results. Adds a state machine for decision on fuzzy results based on multiple sources.
SubprocessUnit
SProcUnitRules
[docs] [source] SProcUnitRules SProcUnitRules.__init__ apply (2) SProcUnitRules.apply reset SProcUnitRules.reset setkargs (2) SProcUnitRules.setkargs setrules SProcUnitRules.setrules
epyunit.myscript¶
Test data generators:
Data generators written in various languages for integration of heterogenous debugging into unit tests.
[prog-lang] debug integration remote host [docs] [source] bash myscript.sh epyunit.myscript.sh C C++ Java JavaScript Perl myscript.pl epyunit.myscript.pl Python yes yes myscript.py epyunit.myscript.py Python/SWIG Ruby
epyunit.SystemCalls¶
Wrapper library for subprocesses and caching of the results.
SystemCalls
epyunit.debug¶
Automation of the seamless cross-process debugging of subprocesses by PyDev RemoteDebugServer.
checkRDbg
Helper function for initialization and bootstrap of debugging components.
[docs] [source] checkRDbg checkRDbg.checkAndRemoveRDbgOptions