This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Testing and the fly likes Junits monitoring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Junits monitoring" Watch "Junits monitoring" New topic

Junits monitoring

saurav sarkar
Ranch Hand

Joined: Jan 07, 2007
Posts: 180

Hi All,

I wanted to Know if any settings is provided from Eclipse or any plugin which helps
to monitor the Junits as whether the tests have assert statements or not.
Such that it gives error or warning if there is not assert statements.

Be Objectively Oriented.Explore the power of OOPs.
My Blog, Eclipse EMF Query committer.
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30124

As far as plugins go, I think a "static analysis" (code review) plugin is what youa re looking for. Many, such as PMD, let you write your own rules. You could write a rule for this if one doesn't already exist.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Junits monitoring
Similar Threads
Can assert statements be used in try-catch blocks ?
doubt :assertion errors
assert detail from DanC exam