logo       

[ checkstyle-Patches-1711979 ] Check for JUnit tests without asserts or fai: msg#00205

Subject: [ checkstyle-Patches-1711979 ] Check for JUnit tests without asserts or fails
Patches item #1711979, was opened at 2007-05-04 00:00
Message generated for change (Comment added) made by oburn
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397080&aid=1711979&group_id=29721

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Check for JUnit tests without asserts or fails

Initial Comment:
Hello!

This patch contains a new check wich checks all JUnit tests for contained 
asserts.

A JUnit test, which does not contain an assert<type>, fail or verify (from 
Easymock) could not be a wise test.

The check ist unit tested and ant gump is successful.

best regards,
Matthias

----------------------------------------------------------------------

>Comment By: Oliver Burn (oburn)
Date: 2007-06-04 13:21

Message:
Logged In: YES 
user_id=218824
Originator: NO

I had a look at the patch and it looks great....except it is missing
documentation. Could you please create documentation under
src/xdocs/config_misc.xml

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397080&aid=1711979&group_id=29721

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


<Prev in Thread] Current Thread [Next in Thread>