mrunit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Beech (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MRUNIT-120) Counter tests should support wildcard/regex names
Date Mon, 18 Jun 2012 08:01:46 GMT
Dave Beech created MRUNIT-120:
---------------------------------

             Summary: Counter tests should support wildcard/regex names
                 Key: MRUNIT-120
                 URL: https://issues.apache.org/jira/browse/MRUNIT-120
             Project: MRUnit
          Issue Type: Improvement
    Affects Versions: 1.0.0
            Reporter: Dave Beech
            Priority: Minor


>From Bertrand Dechoux via user mailing list.

"The issue is that I might no know the name of the counters because they are dynamic. Even
the group name is kind of dynamic because for warning counters, I use the class name and so
it might change after refactoring."

Currently it is difficult to test counters with dynamically generated names. Also, as Bertrand
mentioned in the email, hardcoding names can make tests brittle and break after code refactoring.





--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message