Join the community at Nodes 2022, our free virtual event on November 16 - 17.
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,
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.