<div dir="ltr"><div><div><div><div><div><div><div>Hi folks,<br><br></div>This is an extension to a discussion we were having about what would be the apt approach to write tests for Github authentication on the alm core ( backend ).<br><br></div>We've written a bunch of tests which checks if our code does the Github OAuth flow correctly.<br><br></div>However the alternate school of thought is:<br><br></div>Should we have a 'mock' Github OAuth provider to also test our code, since conventionally tests should not be depending on external systems.<br><br></div>On the flip-side, if test failures are not caught with a real Github OAuth provider we might ending up chasing bugs in production.<br><br></div>Let me know your thoughts.<br><br><br>- <br></div>Shoubhik <br></div>