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's a good approach if you want to explicit...That'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 "Run JUnits Automatically" 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'll only run those tests affected by any changes you make (either to the test code or the production code it's testing), and you'll get the continuous coverage reporting.<br /><br />If you go for the auto-run approach you'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]