Mockito
Mockito is a mocking framework for Java
Scalamock
ScalaMock is a mocking framework for the Scala programming language.
Others
Example |
---|
Mockito has been around a lot longer than scalamock and is much more actively maintained because of it s much larger contributor base from question Mocking classes in Play for Scala |
Scalamock looks more natural when developing applications in scala however from what i read it seems to support fewer test scenarios compared to mockito and it s also less mature from question Mocking classes in Play for Scala |