You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Rene Cordier (JIRA)" <se...@james.apache.org> on 2019/04/01 03:40:00 UTC

[jira] [Updated] (JAMES-2706) Normalize metric contract testing

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

Rene Cordier updated JAMES-2706:
--------------------------------
    Fix Version/s: 3.4.0

> Normalize metric contract testing
> ---------------------------------
>
>                 Key: JAMES-2706
>                 URL: https://issues.apache.org/jira/browse/JAMES-2706
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Rene Cordier
>            Priority: Major
>             Fix For: 3.4.0
>
>
> We developed a `RecordingMetricFactory` and a `RecordingTimeMetric` classes for testing pre-deletion hooks metrics here : https://github.com/linagora/james-project/pull/2246
> It would be cool to try to extend it to other metrics testings, instead of using mocks.
> Thus you should :
> * extract those classes
> * refactor all metrics tests to use the new structure instead of mocks
> * rework on metric test classes if necessary



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org