Mattia Tommasone

Results 81 comments of Mattia Tommasone

Short answer: you don't. Longer answer: https://reflectoring.io/clean-unit-tests-with-mockito/#dont-mock-value-objects-or-collections To expand a bit: what exactly are you trying to achieve? Why can't you pass a `BuildConfig` object with the right value to...

Thanks a lot for investigating this! I think it makes sense that having the equals method defined makes a difference in this case: method handlers are stored in a map,...

Given that this is indeed a weird behavior, I don't really think you should be mocking the Color class, since it's basically a value object. What is the behavior you...

Not really sure what you are trying to achieve here: how exactly is your `abc` function defined? I don't really understand the point of having a `Unit` parameter.

About the question in the initial comment on `localrepo`: i don't think it can be removed, it's not exactly the same as doing `publishToMavenLocal`. It's meant to publish to a...

Uhm, I can't seem to get this to build locally: ``` ➜ mockk git:(fix/854-update-build-config) ✗ ./gradlew clean build --info Initialized native services in: /Users/raibaz/.gradle/native Initialized jansi services in: /Users/raibaz/.gradle/native The...

> * I'll add `localrepo` back into `gradle.properties`, but set it to `./build/maven-local-repo`. > * On your machine in `$GRADLE_USER_HOME/gradle.properties` set `localrepo=/path/to/your/personal/.m2`. This will override the project setting ([the order...