[TIP] Unittest framework with good process isolation
holger at merlinux.eu
Sat Aug 4 02:16:59 PDT 2012
On Sat, Aug 04, 2012 at 14:24 +0530, Baiju M wrote:
> Hi holger,
> On Sat, Aug 4, 2012 at 1:47 PM, holger krekel <holger at merlinux.eu> wrote:
> > pytest has the "xdist" plugin (http://pypi.python.org/pypi/pytest-xdist ) which
> > a) provides the --boxed option to run each test in subprocess which allows
> > to survive and report on crashes of single tests
> What is the difference between --tx and --boxed options ?
with --tx/-n options multiple tests run in one subprocess.
With --boxed each test runs in a separate subprocess,
providing total isolation.
> Baiju M
More information about the testing-in-python