Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-16-2020 12:36 AM
Hi everybody,
I'm using the official neo4j-go-driver.
One thing is bothering me - lack of testing libraries.
Does anybody familiar with something relevant regards?
Thanks in advance,
Boris
07-16-2021 12:14 PM
Hi, what kind of testing do you have in mind?
For integration testing, you can either use the raw Docker Go library or testcontainers-go. The latter is used in this sample project: golang-neo4j-realworld-example/repository_test.go at main · neo4j-examples/golang-neo4j-realworld-ex....
For unit testing, you are free to pick any mock generator (GoMock, Mockery, ...), since the driver itself exposes its API via interfaces.
All the sessions of the conference are now available online