ScalaMock icon indicating copy to clipboard operation
ScalaMock copied to clipboard

Native Scala mocking framework

Results 35 ScalaMock issues
Sort by recently updated
recently updated
newest added

### ScalaMock Version (e.g. 3.5.0) 5.2.0 ### Scala Version (e.g. 2.12) 2.13.8 ### Runtime (JVM or JS) JVM ### Please describe the expected behavior of the issue I expect the...

Mock testing in Specs2, came across a compiler crash that is easily reproducible. Mock testing works on curried functions in this style: `def func(arg1: A)(arg2: A): A` But it blows...

An unexpected call to one of the method of a mock raise an `org.scalatest.exceptions.TestFailedException`. But if this exception is somehow suppressed, the failure is silently ignored. ### ScalaMock Version (e.g....

### ScalaMock Version 3.6.0 ### Scala Version 2.11 ### Runtime JVM ### Please describe the expected behavior of the issue I would expect to mock Java Generic interfaces having overloaded...

### ScalaMock Version 5.1.0 ### Scala Version 2.13.6 ### Runtime JVM ### Please describe the expected behavior of the issue Creation of mock successfully compiles ### Please provide a description...

### ScalaMock Version (e.g. 3.5.0) 5.3.0-SNAPSHOT ### Scala Version (e.g. 2.12) 2.13.6 ### Runtime (JVM or JS) JVM ### Please describe the expected behavior of the issue Specs2 test example...

*If you want to discuss a new feature, please ignore/clear this form.* ### ScalaMock Version (e.g. 3.5.0) 5.1 ### Scala Version (e.g. 2.12) 2.12 ### Runtime (JVM or JS) JVM...

Referencing: ```scala trait Foo { def bar(): Int def buz: Int } val fooMock = mock[Foo] (() => fooMock.bar()).expects(10) (() => fooMock.buz).expects(10) ``` Shouldn't that be more like: ```scala trait...

before, we tried to cast applied types to the type arguments, to capture context bounds. That fails for simple generic types that then get cast to the wrong type. However,...

## About this PR 📦 Updates org.specs2:specs2-core from `4.20.2` to `4.20.8` ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve conflicts as long as you don't change...