wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 30068

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
It is sorta covered in the JavaRanch Style Guide.
subject: Junits monitoring
Similar Threads
doubt :assertion errors
assert detail from DanC exam
Can assert statements be used in try-catch blocks ?