[TIP] repeating test case (loop)
me at jamescooke.info
Tue Oct 18 07:29:21 PDT 2016
The DDT package provides a decorator to loop tests, but works to make
each looped test look like an individual test instance.
However, as Tiago said, it's not clear what you're trying to achieve -
can you share code? You'll get better answers if you're able to share
what you're working on and your goals.
On Tue, 18 Oct 2016, at 03:19 PM, Tiago Ferraz wrote:
> Hypothesis does this. I think it is possible to create a decorator
> that could repeat the test method a defined number of times. But now,
> I am guessing this is not exactly what you are looking for. Could you
> share more details over your goal with this?
> On Tue, Oct 18, 2016 at 4:16 PM, James <bjlockie at lockie.ca> wrote:
>> Is it possible to loop over a test case and do it multiple times?
>> testing-in-python mailing list
>> testing-in-python at lists.idyll.org
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
James Cooke Backend software developer CV PDF:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python