[ 
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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to