Dan Haywood created ISIS-569:
--------------------------------

             Summary: Switch from JMock to something more modern, eg JMockit
                 Key: ISIS-569
                 URL: https://issues.apache.org/jira/browse/ISIS-569
             Project: Isis
          Issue Type: Improvement
          Components: Core
    Affects Versions: core-1.2.0
            Reporter: Dan Haywood
            Assignee: Dan Haywood
             Fix For: core-2.0.0


Isis standardized on using JMock a while back, however as a library it doesn't 
seem to be keeping up.

Specifically, its mocking of classes depends on cglib 2.x (and therefore asm 
3.x), which conflicts with cglib 3/ asm 4.x (required for JDK 7).

Candidates to replace it are mockito and jmockit.  Personally I don't much like 
mockito; jmockit comes out well in this comparison:
https://blog.42.nl/articles/mockito-powermock-vs-jmockit/



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to