Menu

#53 a property for allowing "empty" coverage reports

open
nobody
None
5
2004-08-16
2004-08-16
No

Some users want to generate coverage reports without
any runtime coverage data (i.e., with predictable 0%
coverage for all items) in order to survey the current
codebase status (even if they have no tests to get non-
zero coverage).

The current behavior is to error out on such input, on
the assumption that the user has made a mistake in
collecting the runtime coverage data. It is hardcoded in
emmarun and report tools.

It should be easy to add a new property that will allow
this edge case to proceed. Its value should default to
the current behavior.

See https://sourceforge.net/forum/forum.php?
thread_id=1122079&forum_id=373865

Discussion

  • Jeremy Whitlock

    Jeremy Whitlock - 2004-08-20

    Logged In: YES
    user_id=785457

    Just to give you an example of the feature I seek, here is a
    link:

    http://geronimo.apache.org/modules/axis/clover/

    Basically, you get the same report as if you had code
    coverage BUT obviously you have 0% covered and your drilled
    down code would still be highlighted red. I have time to begin
    helping you with this as I have experience developing with ant
    and java so just give me a holler if you would like my help.
    Also, this feature should be capable of being turned on and
    off. Laters, Jeremy

     
  • John Didion

    John Didion - 2005-01-25

    Logged In: YES
    user_id=295135

    I'd like to add my +1. We've been using emma for several
    months and the lack of this feature is the only flaw we've
    been able to find.

     

Log in to post a comment.