About testing other's people code
Don’t test other’s people code: test that your code does the right thing when theirs doesn’t.
E.g. when dealing with other people’s API, test every possible behaviour of your code interacting with their API. You never know how the output could look like at any given moment, rather you should assume it could break or be malicious.
References
- John Arundel, The Power of Go: Tools
#testing #web #api #programming #wise #client #computer_science #coding