Re: Junit checks

Tim Visher <[email protected]> Mon, 20 Apr 2009 14:12:35 -0400
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
On Mon, Apr 20, 2009 at 10:03 AM, Adam Purkiss <[email protected]> wrote:
> I have been looking to see if there are any testing checks out there as I
> cant find any before I delve into developing my own check.
>
> What I am looking for is a way of checking JUnit test methods to make sure
> they have X number of asserts and then maybe adding to it so that if they
> are over X lines in length they have Y asserts. Has anything like that been
> done and does this sound like something Checkstyle could do?

I haven't heard of anything like that but it sounds like it would be
really useful.  If you find something or start developing something be
sure to let the list know.

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p