-
-
Notifications
You must be signed in to change notification settings - Fork 18
Description
I realize that this is a bit of a long shot question, because it's not directly related to this code.
I'm trying to figure out how I can use these fixtures to test ktorm (https://github.com/kotlin-orm/ktorm). The ktorm objects are fairly complex, consisting of a singleton object that connects to the database, fronted by an abstract interface for interacting with the singleton that instantiates a proxy whenever it itself is instantiated.
Needless to say, the reflection based auto-fixture didn't work.
I tried created a class that reifies the interface, but the companion object is making that hard.
I was just wondering if anyone here has any experience or can point me in the direction of something I can read to figure this out. Or if someone here's experience says "this is probably not the right approach, don't bother".
(I asked a similar question at ktorm and it was not a question that intrigued them, so that got closed and I understand if that happens here as well)
Thank you!