[TIP] overriding default args to commands in tox
itissid at gmail.com
Mon Dec 8 15:50:03 PST 2014
I have about 5 independent sections in tox where I need my py.test command
to run by default in parallel using xdist. I currently hardcode "-n X" in
all the sections.
But sometimes I want to not use xdist like when I debug or run them
serially. Can disable xdist via tox by overriding the "-n X" option to be
P.S: I am aware of using environment variables as a way to do this. But I
think it maybe easier for a user to specify this via tox and not depend on
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python