<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 4, 2013 at 4:38 PM, Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I need to set up various special state on all tests of a specialized<br>
Suite during initialization of the Suite.  But after creating the<br>
tests, SUnit then promptly throws them all away which is not only<br>
wasteful it loses all of my needed additional-state).<br>
<br>
setUp and tearDown are intended to, well, set up and tear down any<br>
test.  Any test that cannot &quot;run again&quot; is broken because it means its<br>
setUp and tearDown methods don&#39;t do the job they&#39;re supposed to.<br>
<br>
If no objections, I will push this to trunk and delete the<br>
#testRanOnlyOnce test.<br></blockquote><div><br></div><div style>I don&#39;t know the details of your use case, but isn&#39;t this what TestResources are for? Why are you customizing the initialization of a Suite?</div><div style>
<br></div><div style>Colin</div></div></div></div>