https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
a

addamsson

11/13/2018, 7:36 AM
Do you plan to add a cross-platform assertion library?
j

joseph_ivie

11/13/2018, 4:24 PM
What exactly do you mean? For testing, I have made a virtual view implementation to make unit testing views easy. As for mocking, like, mocking a server, I have a trick up my sleeve - instead of mocking the server, use an instance of the actual server. They are all written in Kotlin after all! Granted, I've left another system in place such that you could manually mock the server.
a

addamsson

11/13/2018, 6:56 PM
j

josephivie

11/13/2018, 7:39 PM
I'll think about it. If I do, it will be a fairly minimalistic extension to Kotlin's testing, as my goals with my libraries are to add the minimum number of declarations to make a task convenient and maximize the use of things in the standard library.
👍 1
a

addamsson

11/13/2018, 8:43 PM
That's a nice idea!
9 Views