Junit checks

Adam Purkiss <[email protected]> Mon, 20 Apr 2009 10:03:48 -0400
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
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?

 

thanks

_________________________________________________________________
Experience all of the new features, and Reconnect with your life.
http://go.microsoft.com/?linkid=9650730

------------------------------------------------------------------------------
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

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user