On Tue, Oct 11, 2016 at 7:46 PM oliver <[email protected]> wrote:

> Is there any plan to port boxed and xdist plugins to Windows? What are the
> issues that have prevented implementation from happening (or happening
> sooner, if planned)?
>

Hey,

The boxed implementation depends on os.fork, which is not available on
Windows. But except for --boxed, xdist works just fine on Windows.

A common question is "Why not use a sub-process instead?" One of the
reasons is that is not really simple to serialize and send the collected
tests on a wire to a subprocess, so xdist uses fork to spawn a child
sharing the same memory and control it from master in case it crashes.

I think I read someone mention that the "slave restart" functionality is
considered a good enough replacement for boxed, which is the reason why it
is being phased out.

Cheers,
Bruno.
_______________________________________________
pytest-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to