[TIP] Unittest framework with good process isolation
holger krekel
holger at merlinux.eu
Sat Aug 4 02:16:59 PDT 2012
Hi Baiju,
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:
> [...snip...]
> > 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.
best,
holger
> Regards,
> Baiju M
>
More information about the testing-in-python
mailing list