tag:blogger.com,1999:blog-3237724005744642470.post5495517608045002408..comments2020-11-17T09:20:38.485+00:00Comments on Captain Debug's Blog: Integrating SureAssert with Existing ProjectsRoger Hugheshttp://www.blogger.com/profile/07042290171112551665[email protected]Blogger1125tag:blogger.com,1999:blog-3237724005744642470.post-51124634137903480742011-09-05T18:56:24.116+01:002011-09-05T18:56:24.116+01:00That&#39;s a good approach if you want to explicit...That&#39;s a good approach if you want to explicitly associate a class with the Junit class (or classes) that test it.<br /><br />Alternatively, you can enable the &quot;Run JUnits Automatically&quot; option in the Sureassert UC Preferences. That monitors and runs all the JUnits in your projects automatically and reports errors/failures as Eclipse problems. <br /><br />Either way, after the initial run it&#39;ll only run those tests affected by any changes you make (either to the test code or the production code it&#39;s testing), and you&#39;ll get the continuous coverage reporting.<br /><br />If you go for the auto-run approach you&#39;ll probably want to tell Sureassert <i>not</i> to run some test classes (e.g. integration tests and slow ones) by annotating them with @NoAutoRun.Nathan Dolanhttps://www.blogger.com/profile/18142434669988468721[email protected]