-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
libtest/cmd.go: potentially unnecessary step in documentation #170
Comments
Firstly, I want to just say thank you for Gnomock. I love the project and I'm working on moving all my tests to use it. I re-read your project README, I must have misunderstood. The section was titled Do you have thoughts on adding Yugabyte and Cockroach both of which are Postgres compatible databases with fast growing adoption? |
I opened new issues for CockroachDB (orlangure/gnomock#92) and Yugabyte (orlangure/gnomock#93), but I don't have any experience with any of them. It would be great if you could help to define preset requirements. Let's continue the discussion there 😼 |
Committed my first set of examples / integration tests using gnomock. It was what I wanted to do over a year go thanks for this project its very useful. Also it worked perfectly when the tests ran within a Github action. 345fe8d |
Great to hear, and thank you! |
Hi there!
I'm the maintainer of Gnomock, and I'm reaching out because I noticed you started using it in
libtest/cmd.go
just yesterday. Thanks for trying it out!I also noticed a comment above
main
function inlibtest/cmd.go
stating that the following command needs to be executed before running it:I'm wondering what would be the reason to do so?
From what I'm seeing, you don't have to run
orlangure/gnomock
container. You could just usegnomock.Start()
with whatever mysql/postgres preset you configured.orlangure/gnomock
container is only required when your code is not written in Go: in such cases you could use Gnomock over HTTP from other languages, like python.Can you try running the command without any prior setup?
The text was updated successfully, but these errors were encountered: