Re: Junit checks
Adam Purkiss <[email protected]> Mon, 20 Apr 2009 15:06:24 -0400
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
I will do. I am sick and tired of bad tests being written. It gives us a false sense we are testing more then we are. That sort of check will hopefully make the developers think a little more > Date: Mon, 20 Apr 2009 14:12:35 -0400 > From: [email protected] > To: [email protected] > Subject: Re: [Checkstyle-user] Junit checks > > 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 > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user _________________________________________________________________ Share photos with friends on Windows Live Messenger http://go.microsoft.com/?linkid=9650734 ------------------------------------------------------------------------------ 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