Hi, The only service class<https://github.com/joel-costigliola/assertj-examples/blob/master/src/main/java/org/assertj/examples/data/neo4j/DragonBallGraph.java>used in the examples wrap Cypher query results into Node/Relationship instances. However, I agree with you assertions on ExecutionResult or ResourceIterator would make a lot of sense.
I'll file an issue right now on Github and release it ASAP! On Wednesday, 22 January 2014 16:52:29 UTC+1, Peter Neubauer wrote: > > Florent, > that is superneat! Is there anything that needs to be done or documented > to use this with the output of cypher statements? Would make a lot of > testing even in the core codebase much simpler! > > /peter > > > G: neubauer.peter > S: peter.neubauer > P: +46 704 106975 > L: http://www.linkedin.com/in/neubauer > T: @peterneubauer > > Neo4j 2.0.0 - > (graphs)-[:FOR]->(everyone)<http://blog.neo4j.org/2013/12/neo4j-20-ga-graphs-for-everyone.html> > Do something useful - Teach your kids 1 hour code! <http://code.org/learn> > > > On Wed, Jan 22, 2014 at 12:41 AM, Florent Biville > <florent...@gmail.com<javascript:> > > wrote: > >> Hi everyone, >> >> Although I have announced this a while ago on my >> blog<http://florent.biville.net/?post/2014/01/03/AssertJ-Neo4j-1.0.0-is-out!>, >> >> I realize I did not mention the first release of AssertJ-Neo4j to the >> official group here. >> First things first, >> AssertJ<https://github.com/joel-costigliola/assertj-core>is historically a >> fork of the Java project >> Fest-Assert <http://code.google.com/p/fest/#Fluent_Assertions>, which >> provides fluent testing assertions (making tests more concise and readable). >> >> With the initial assistance of Joel Costigliola (ex-Fest-Assert >> contributor, creator of AssertJ), I have released an AssertJ module that >> helps writing concise and fluent assertions on Neo4j data structures. This >> works with Neo4j 2+. >> >> It can be used as a standalone testing library or be used together with >> AssertJ core module. >> It is fully open source and hosted on >> Github<https://github.com/joel-costigliola/assertj-neo4j>with an extensive >> documentation<http://joel-costigliola.github.io/assertj/neo4j/api/index.html>and >> several >> examples<https://github.com/joel-costigliola/assertj-examples/tree/master/src/test/java/org/assertj/examples/neo4j> >> . >> >> This is only a 1.0.0 version and there is still work to do (mainly with >> Iterable of Node/Relationship and more) >> Any feedback would be greatly appreciated! >> >> Feel free to suggest features by opening issues on Github or even send >> pull request :) >> >> Happy new year and happy testing! >> Florent >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Neo4j" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to neo4j+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.