문제

Can anyone point me in the direction of what I need to do to set up an embedded Neo4J 2 server that I can fire REST calls for unit testing?

도움이 되었습니까?

해결책

You can use something similar to my in-memory server, just use the CommunityBootstrapper inside your tests.

There is also a unit-testing ServerBuilder which is used for Neo4j's own functional tests against Neo4j server, check the Neo4j Sources for how it is used.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top