Skip to content

Conversation

@remyleone
Copy link
Member

@remyleone remyleone commented Jun 24, 2020

By doing so, we can avoid having developers forgetting about a given environment variable that would update cassettes when not intended to. Using explicit flags avoids those can of mistakes and can be added easily from command line run or from an IDE.

Usage example: https://blog.jbowen.dev/2019/08/using-go-flags-in-tests/

Copy link
Contributor

@jerome-quere jerome-quere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to update run-test script

@remyleone remyleone merged commit 9600a33 into scaleway:v2 Jul 1, 2020
@remyleone remyleone deleted the recordflags branch July 1, 2020 14:29
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

Successfully merging this pull request may close these issues.

2 participants