You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "Bertrand Dechoux (JIRA)" <ji...@apache.org> on 2012/06/22 15:36:42 UTC

[jira] [Updated] (MRUNIT-119) Counter tests should support assertions that counters are not present

     [ https://issues.apache.org/jira/browse/MRUNIT-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Dechoux updated MRUNIT-119:
------------------------------------

    Attachment: mrunit-119-proposal.diff

A proposal : add a strict mode for counter checking.

Basically, we want to have an error if a counter was observed but not expected. Of course, this mode is optional and should be activated only when needed.
                
> Counter tests should support assertions that counters are not present
> ---------------------------------------------------------------------
>
>                 Key: MRUNIT-119
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-119
>             Project: MRUnit
>          Issue Type: Improvement
>    Affects Versions: 1.0.0
>            Reporter: Dave Beech
>            Priority: Minor
>         Attachments: mrunit-119-proposal.diff
>
>
> From Bertrand Dechoux via user mailing list.
> Should we add a feature to the counter checking feature so that users can assert that something will *not* be present, for example an error or exception counter, and have the test fail if it is set?

--
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