Reputation: 339
I am just getting started with Neo4j. I am using .net.
Do anyone know what the best way to unit test my development is? Java devs can use the ImpermanentGraphDatabase class for this. Is there a trick that will let me use the same?
Any tips or hard earned experience sharing is appreciated.
Upvotes: 7
Views: 668
Reputation: 19373
There's an in memory server that you might want to check out https://github.com/jexp/neo4j-in-memory-server (I've not used it myself).
Or you could run a server solely for executing tests against and clean out the data after each/a set of tests. Check out http://graphaware.com/neo4j/2014/06/19/neo4j-unit-testing-with-resttest.html as well.
Upvotes: 5