-
Notifications
You must be signed in to change notification settings - Fork 17
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
chore: clean up prism mocker #34
Conversation
@@ -3,6 +3,7 @@ | |||
OPENAPI_GENERATOR_VERSION=5.0.1 | |||
|
|||
install: | |||
cd examples/go && go get github.com/twilio/twilio-go@main |
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.
Not something to fix right now, but don't like that we're requiring go
during install since we may use this repo to generate other languages in the future.
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.
Agreed. The goal here is to pull the latest commit from twilio-go when running tests. Would it be better to move this into the ./prism.sh
file?
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.
I'm okay with it here for now since it makes working with the Go tests in an IDE better.
Fixes
Remove duplicate files and use the code in twilio-go. Add documentation for how to run tests locally.
Jira Ticket: https://issues.corp.twilio.com/browse/DI-1263
Related PR: #34
Checklist
make test-docker