Re: Newbie question: how do I run the tests on my structure implementations?

2016-09-17 Thread Stephen Mallette
If you've set up your Features on your graph implementation right, I would think that the test suite should be smart enough to ignore tests that are validating mutation. You probably have to be smart about how your GraphProvider works though because if your implementation is read-only there has to

Re: Newbie question: how do I run the tests on my structure implementations?

2016-09-17 Thread Const Eust
Hm, uh, I'm basically implementing a read-only interface (the graph is constructed using the underlying datastore. How do I test that? And does that imply I need to go tot he Process implementations, or are there basic queries I can run that only need the Structure implementations? On Sat, Sep 17

Re: Newbie question: how do I run the tests on my structure implementations?

2016-09-17 Thread Const Eust
Ha, I found them :-) TinkerGraphStructureStandardTest looks to be exactly what I needed! On Sat, Sep 17, 2016 at 3:00 AM, Stephen Mallette wrote: > sorry: > > https://github.com/apache/tinkerpop/blob/4293eb333dfbf3aea19cd326f9f3d1 > 3619ac0b54/tinkergraph-gremlin/src/test/java/org/apache/tinkerp

Re: Newbie question: how do I run the tests on my structure implementations?

2016-09-17 Thread Stephen Mallette
sorry: https://github.com/apache/tinkerpop/blob/4293eb333dfbf3aea19cd326f9f3d13619ac0b54/tinkergraph-gremlin/src/test/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerGraphStructureStandardTest.java and https://github.com/apache/tinkerpop/blob/4293eb333dfbf3aea19cd326f9f3d13619ac0b5

Re: Newbie question: how do I run the tests on my structure implementations?

2016-09-17 Thread Const Eust
Ok I'll check those two classes. Links aren't working but I'll google. I did the opt-ins and feature classes, so those should be ready to be debugged. Thanks. On Sat, Sep 17, 2016 at 2:29 AM, Stephen Mallette wrote: > If you are building a Graph implementation, you can validate with > gremlin-

Re: Newbie question: how do I run the tests on my structure implementations?

2016-09-17 Thread Stephen Mallette
If you are building a Graph implementation, you can validate with gremlin-test if you follow these instructions: http://tinkerpop.apache.org/docs/3.2.2/dev/provider/#validating-with-gremlin-test It might also help to look at the tinkergraph-gremlin tests for structure to see how they are setup. Y

Newbie question: how do I run the tests on my structure implementations?

2016-09-17 Thread Const Eust
I'm trying to write a read-only OLTP interface bridge into a custom engine.