<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>The DDT package provides a decorator to loop tests, but works to make each looped test look like an individual test instance. <a href="http://ddt.readthedocs.io/en/latest/example.html">http://ddt.readthedocs.io/en/latest/example.html</a><br></div>
<div><br></div>
<div>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.<br></div>
<div><br></div>
<div>Cheers,<br></div>
<div><br></div>
<div>James<br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div>On Tue, 18 Oct 2016, at 03:19 PM, Tiago Ferraz wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div>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?<br></div>
<div><br></div>
<div>-T<br></div>
</div>
<div><div><br></div>
<div><div>On Tue, Oct 18, 2016 at 4:16 PM, James <span dir="ltr">&lt;<a href="mailto:bjlockie@lockie.ca">bjlockie@lockie.ca</a>&gt;</span> wrote:<br></div>
<blockquote style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div>Hi,<br></div>
<div><br></div>
<div>Is it possible to loop over a test case and do it multiple times?<br></div>
<div><br></div>
<div><br></div>
<div>______________________________<wbr>_________________<br></div>
<div>testing-in-python mailing list<br></div>
<div><a href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.<wbr>org</a><br></div>
<div><a href="http://lists.idyll.org/listinfo/testing-in-python">http://lists.idyll.org/listinf<wbr>o/testing-in-python</a><br></div>
</blockquote></div>
</div>
<div><u>_______________________________________________</u><br></div>
<div>testing-in-python mailing list<br></div>
<div><a href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a><br></div>
<div><a href="http://lists.idyll.org/listinfo/testing-in-python">http://lists.idyll.org/listinfo/testing-in-python</a><br></div>
</blockquote><div><br></div>
<div id="sig58208729"><div class="signature">--<br></div>
<div class="signature"><span>James Cooke<br>Backend software developer<br>CV PDF: <a href="http://jamescooke.info/docs/james_cooke_cv.pdf">http://jamescooke.info/docs/james_cooke_cv.pdf</a><br>Website: <a href="http://jamescooke.info/">http://jamescooke.info/</a></span></div>
</div>
<div><br></div>
</body>
</html>