Testing the application is fairly simple, just met the dependencies and run the
The testing suite uses HTTPretty to mock server responses, it’s not a live
test against the providers API, to do it that way, a browser and a tool like
Selenium are needed, that’s slow, prone to errors on some cases, and some of
the application examples must be running to perform the testing. Plus real Key
and Secret pairs, in the end it’s a mess to test functionality which is the
By mocking the server responses, we can test the backends functionality (and
other areas too) easily and quick.