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
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
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
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
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-
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
I'm trying to write a read-only OLTP interface bridge into a custom engine.