-
Notifications
You must be signed in to change notification settings - Fork 28
feat: add end-to-end tests #179
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
Conversation
Setup the end-to-end test machinery and add a simple test for the version command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome job! I left a small remark on one of the e2e tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome job! I left a small remark on one of the e2e tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
This PR adds a few simple end-to-end tests, based on Go's testscript package.
This works best with an empty Algolia application, but otherwise nothing special is required.
To run them, just add a
.env
file withALGOLIA_APPLICATION_ID
andALGOLIA_API_KEY
and runtask e2e
.This is probably very flaky, that's why I didn't add anything to the CI yet.