-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feature/ts 168/integration tests #62
Feature/ts 168/integration tests #62
Conversation
TS-168 * Also fix some issues with RequiredParameters
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.
Seems good. Thanks!
_live-tests/main_test.go
Outdated
|
||
client = appoptics.NewClient(token) | ||
// Uncomment the below to see response status/body stdout while tests run | ||
//client = appoptics.NewClient(token, appoptics.SetDebugMode()) |
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.
Maybe this should be configurable via ENV, and be enabled for CI? Or is that too verbose?
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.
Yeah I think that's a little too verbose -- it dumps entire request bodies for each request, which can make it hard to read. I'd vote against making it the default, but I'm not against an available ENV setting for it.
What
Adds live tests for:
Why
So that we're regression testing the client against the production service.