[pytest-dev] Running a parametrized test case in multiple CPUs

Bruno Oliveira nicoddemus at gmail.com
Sat Dec 6 19:30:07 CET 2014


Have you tried using pytest-xdist?

Cheers,

On Sat, Dec 6, 2014 at 4:26 PM, Goncalo Morgado <goncalo.magno at gmail.com>
wrote:

>
> Hi pytest community,
>
> I am not sure this is the right place to ask this, and I am sorry if it's
> not.
> I am trying to make use of multiple CPUs to run my tests, which I can for
> separately defined tests (different test_ functions for instance). *The
> challenge is to run tests, generated from one single test_ function which
> fixture it depends on is parametrized with multiple parameters, on multiple
> CPUs*.
> Currently I have this test that generates more than a thousand tests
> (because of the parametrized fixture it depends on) and ends up being very
> time consuming to run in one single CPU.
>
> Thanks for this great tool that is pytest!
>
> Cheers,
> Gonçalo
>
>
>
> _______________________________________________
> pytest-dev mailing list
> pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20141206/1f5df2aa/attachment.html>


More information about the pytest-dev mailing list