Running Tinkerpop test in Janusgraph repo
Hi I'm trying to run the below Tinkerpop test to test out some of the changes I've made to Janusgraph. By copying the test over from Tinkerpop repo into Janusgraph repo (just for testing one test).
But I'm getting
I need to be able to inject the graph implementation into this test somehow? How can I do that?
Thank you.
7 Replies
This workflow was suggested by @Boxuan Li btw. So would be great if you already know the answer 😄
Oh nope you don't need to copy this test
Solution
You should copy the test suite definition test
Search in the TinkerPop repository, there should be a mention of
TraversalInterruptionTest .class
I've got this now
Oh I've got it
Sorry let me rephrase my words. Let's say you want to debug
TraversalInterruptionTest
in JanusGraph.
1. Open JanusGraph repo in your IDE.
2. Find BerkeleyJanusGraphProcessTest
- see how it mentions ProcessStandardSuite
3. Open ProcessStandardSuite
(either from TinkerPop repo or from your current IDE window directly)
4. Copy it to JanusGraph repo
5. Remove other tests other than TraversalInterruptionTestThanks for this, I was able to run the test successfully 💪