Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question/Help required] Testing driver support? #26

Closed
naxhh opened this issue Dec 30, 2015 · 1 comment
Closed

[Question/Help required] Testing driver support? #26

naxhh opened this issue Dec 30, 2015 · 1 comment

Comments

@naxhh
Copy link

naxhh commented Dec 30, 2015

Hi! Thanks for the cq package!

I'm trying to test some query-centric code. I want to stub query results in order to test some behaviours.
I've been using erikstmartin/go-testdb for most of our simple queries and statements.

But I noticed that driver will not work for a few cases, (for example when you want to perform a neo query with a []int)
I'm interested on creating a neo4j-test driver. But I'm a bit lost on where should I start.

The final goal is to do the same as the go-testdb does but with support for cypher values.
This issue is to request a bit of support. Since I think the Converter is where the problem is. Maybe is as simple as defining a Converter that uses cypher converter. But I'm pretty sure I'm missing some points.

Thanks!

@naxhh
Copy link
Author

naxhh commented Dec 30, 2015

Hi again.
Just wanted to inform that I was able to do what I needed only adding the cypher conversor.
https://github.com/naxhh/cq-test

I just didn't checked all the stuff the library supports but for now does what I need.

@naxhh naxhh closed this as completed Dec 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant