Re: [Neo4j] Published Clean-DB REST-Server Extension

2011-03-26 Thread Mark Nijhof
Hi Michael,

The plugin works like a charm!

Before I was using in my RSpec setup:

  config.before(:each, :neo4j => true) do
sh "~/neo4j-server/bin/neo4j stop"
sh "rm -rf ~/neo4j-server/data/graph.db"
sh "~/neo4j-server/bin/neo4j start"
sleep 2
  end

Which took 227.13 seconds to run, with the plugin it takes only 1.38 seconds
to run for 24 tests. This makes TDD fun again :)

Thanks,

-Mark




On Wed, Mar 2, 2011 at 5:54 PM, Michael Hunger <
michael.hun...@neotechnology.com> wrote:

> Hey guys,
>
> whoever of you used the server from a remote client and wanted to use it in
> functional tests had the issue with restarting the server and cleaning the
> db-directory with each test (to have independend tests).
>
> Mark Nijhof addressed this problem and I experienced it myself when
> developing against the REST Server.
>
> You can find the plugin here:
> https://github.com/jexp/neo4j-clean-remote-db-addon
>
> Looking forward to your feedback.
>
> Cheers
>
> Michael
>
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mark Nijhof
m: 0031 6 23 83 07 39
b:  cre8ivethought.com/blog/index
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Published Clean-DB REST-Server Extension

2011-03-02 Thread Mark Nijhof
Sorry for not yet having provided feedback, will do but other things came-up
:(

-Mark


On Wed, Mar 2, 2011 at 6:29 PM, Javier de la Rosa  wrote:

> Really useful!
> Thank you.
>
> On Wed, Mar 2, 2011 at 11:54, Michael Hunger
>  wrote:
> > Hey guys,
> >
> > whoever of you used the server from a remote client and wanted to use it
> in functional tests had the issue with restarting the server and cleaning
> the db-directory with each test (to have independend tests).
> >
> > Mark Nijhof addressed this problem and I experienced it myself when
> developing against the REST Server.
> >
> > You can find the plugin here:
> https://github.com/jexp/neo4j-clean-remote-db-addon
> >
> > Looking forward to your feedback.
> >
> > Cheers
> >
> > Michael
> >
> > ___
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
>
>
>
> --
> Javier de la Rosa
> http://versae.es
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mark Nijhof
m: 0047 95 00 99 37
e:  mark.nij...@cre8ivethought.com
b:  cre8ivethought.com/blog/index



"Walking on water and developing software from a specification are easy if
both are frozen."

-- Edward V Berard
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Published Clean-DB REST-Server Extension

2011-03-02 Thread Javier de la Rosa
Really useful!
Thank you.

On Wed, Mar 2, 2011 at 11:54, Michael Hunger
 wrote:
> Hey guys,
>
> whoever of you used the server from a remote client and wanted to use it in 
> functional tests had the issue with restarting the server and cleaning the 
> db-directory with each test (to have independend tests).
>
> Mark Nijhof addressed this problem and I experienced it myself when 
> developing against the REST Server.
>
> You can find the plugin here: 
> https://github.com/jexp/neo4j-clean-remote-db-addon
>
> Looking forward to your feedback.
>
> Cheers
>
> Michael
>
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Javier de la Rosa
http://versae.es
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Published Clean-DB REST-Server Extension

2011-03-02 Thread Peter Neubauer
Very cool Michael!

Andreas and me hope to get a end-to-end testing project into place by
tomorrow, so we can programmatically deploy Plugins (later even
extensions) into a packaged and installed server instance, so we can
test these things properly. Hope Brendan you can wait until tomorrow?
Was a bit much of other stuff to do today.

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Wed, Mar 2, 2011 at 5:54 PM, Michael Hunger
 wrote:
> Hey guys,
>
> whoever of you used the server from a remote client and wanted to use it in 
> functional tests had the issue with restarting the server and cleaning the 
> db-directory with each test (to have independend tests).
>
> Mark Nijhof addressed this problem and I experienced it myself when 
> developing against the REST Server.
>
> You can find the plugin here: 
> https://github.com/jexp/neo4j-clean-remote-db-addon
>
> Looking forward to your feedback.
>
> Cheers
>
> Michael
>
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Published Clean-DB REST-Server Extension

2011-03-02 Thread Michael Hunger
Hey guys,

whoever of you used the server from a remote client and wanted to use it in 
functional tests had the issue with restarting the server and cleaning the 
db-directory with each test (to have independend tests).

Mark Nijhof addressed this problem and I experienced it myself when developing 
against the REST Server.

You can find the plugin here: 
https://github.com/jexp/neo4j-clean-remote-db-addon

Looking forward to your feedback.

Cheers

Michael

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user