kosi-libs / MocKMP

A mocking processor for Kotlin Multiplatform
https://kosi-libs.org/mockmp
MIT License
183 stars 12 forks source link

Provide a way to use something like TestsWithMocks for classes that already have a super class #50

Closed dalewking closed 1 year ago

dalewking commented 1 year ago

My thought is that you could declare an interface for TestsWithMocks functionality and it could be mixed into the class using delegation. You could not do the @BeforeTest method that way so you would have to provide a method the test class can call from a BeforeTest method

SalomonBrys commented 1 year ago

Fix released in v1.14.0.