Re: [Neo4j] Run test and development DBs at same time

2011-10-09 Thread Steve Jalim
Oct 2011 13:27:54 -0700 From: Andreas Kollegger andreas.kolleg...@neotechnology.com Subject: Re: [Neo4j] Run test and development DBs at same time To: Neo4j user discussions user@lists.neo4j.org Message-ID: ef337405-283a-49d6-825f-154e96c33...@neotechnology.com Content-Type: text/plain; charset

Re: [Neo4j] Run test and development DBs at same time

2011-10-09 Thread Peter Neubauer
don't think I can use that, can I? Or can I invoke an IGD that runs in parallel with my dev datastore? S Date: Sat, 8 Oct 2011 13:27:54 -0700 From: Andreas Kollegger andreas.kolleg...@neotechnology.com Subject: Re: [Neo4j] Run test and development DBs at same time To: Neo4j user

[Neo4j] Run test and development DBs at same time

2011-10-08 Thread Steve Jalim
Hi Is there a common pattern for test-driven development (or even just running unit tests) against a Neo DB without filling your development DB with test data? One solution I've thought might work is to run two Neo DBs, one in /path/to/my/sandboxed/dev/data and another in

Re: [Neo4j] Run test and development DBs at same time

2011-10-08 Thread Andreas Kollegger
Take a look at ImpermanentTestDatabse, available from the kernel-tests library. import org.neo4j.test.ImpermanentGraphDatabase; Maven dependency… dependency groupIdorg.neo4j/groupId artifactIdneo4j-kernel/artifactId version${neo4j.version}/version

Re: [Neo4j] Run test and development DBs at same time

2011-10-08 Thread Michael Hunger
You can use a import org.neo4j.test.ImpermanentGraphDatabase; which uses a temporary directory and cleans its contents before startup. It is contained in the neo4j-kernel-tests.jar. dependency groupIdorg.neo4j/groupId

Re: [Neo4j] Run test and development DBs at same time

2011-10-08 Thread Javier de la Rosa
On Sat, Oct 8, 2011 at 16:30, Michael Hunger michael.hun...@neotechnology.com wrote: You can use a import org.neo4j.test.ImpermanentGraphDatabase; Do you know if it could be possible to use this from the REST server? -- Javier de la Rosa http://versae.es

Re: [Neo4j] Run test and development DBs at same time

2011-10-08 Thread jadell
Adell -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Run-test-and-development-DBs-at-same-time-tp3405951p3406525.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j