[issue14803] Add feature to allow code execution prior to __main__ invocation

Chris Jerdonek report at bugs.python.org
Sun Jul 29 16:19:15 CEST 2012


Chris Jerdonek added the comment:

Ned, two questions: in the scenario you just described, is it a requirement that your test suite's code need not be modified (even minimally) to support coverage of subprocesses?

And can the solution assume that the test suite is spawning the Python processes in certain standard ways, or must it address all possible ways (even convoluted ones)?  If the former, what are the standard ways?  I am referring to things like the path to the Python interpreter invoked and how that is obtained, whether the subprocess module is always used, etc.

These questions are meant to help pin down the scope of what needs to be satisfied.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14803>
_______________________________________


More information about the Python-bugs-list mailing list