I'm using the gremlin-go V3 package and I'm trying to find an easy way to mock for testing. Has anyone successfully created a Mock Package/Interface?
My code currently uses: GraphTraversalSource DriverRemoteConnection
And the actual connection structs/interfaces are pretty deep into these. Running any method that actually submits the Query causes a panic because I don't have a test connection.
I know I have a couple options like creating my own interface wrapper, and creating my own stub client, however I'm wondering if anyone has solved this?
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
AT
Apache TinkerPop
Apache TinkerPop is an open source graph computing framework and the home of the Gremlin graph query language.