Replies: 1 comment
-
IMHO, all test's mocked data should be source-controlled. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tests will involve hitting the Notion API. An API Key is also required. How the tests can be standardized across all the people?
API key could be kept in github secrets. but other collaborators will not get it, so they cant run those same tests locally.
How to make sure that everyone runs same tests with the same data ?
One thing is to save the data returned by the API in a json file, and commit that to the source code. I hope something like that is done by vcrpy ? Should the cassete be committed to source control ?
Beta Was this translation helpful? Give feedback.
All reactions