Caching checkstyle results; running only broken tests
Mirza Abbas Raza <[email protected]> Thu, 14 Jul 2011 20:07:40 -0700 (PDT)
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, My apologies if this has already been addressed. I had a hard time searching it on the mailing list. Nothing novel about this - anybody using checkstyle with a non-trivial application must have seen this. So, checkstyle takes almost 5 minutes to run, partly because we have lots of suppressions. I want to minimize the time by letting checkstyle cache the results and run only the broken tests on the subsequent runs. Turns out, no solution is available out of the box at least based on my google search. One solution that I found online is this http://lifeisbetter.in/blog/2010/10/26/checkstyle-ant-task-run-checkstyle-only-on-modified-files/ . The issue with this solution is that if a broken test is not fixed, that test will not run again because the file was not modified. I am thinking of having a timestamp based solution. However, it there is a out of the box solution, that would be the best deal. Any pointers on existing solutions would help too. Any help appreciated. Thanks, Abbas ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user