Overdrivr / micro-ci

Continuous Integration for embedded platforms
0 stars 0 forks source link

OAuth testing of authentication with Github account #17

Closed Overdrivr closed 8 years ago

Overdrivr commented 8 years ago

Test strategy With protractor:

  1. Go to micro-ci \login page
  2. Click login with github button
  3. Authorize on github page
  4. Redirection on micro-ci. Detectable ?
  5. ? Question is, which user account to use for testing the connection ? Because google or github may not be fond of creating robot accounts for testing purposes
Overdrivr commented 8 years ago

Not really sure about this end-user test.

Some folks recommend mocking http requests http://stackoverflow.com/questions/4518432/how-should-i-test-user-signup-login-with-third-party-library-like-omniauth

Which would avoid performing e2e tests for this feature.

DanFaudemer commented 8 years ago

Sounds to be a better idea. Else we will not be able to integrate the former solution in a comtinus integration tool.

-----Message d'origine----- De : "Rémi Bèges" notifications@github.com Envoyé : ‎14/‎04/‎2016 20:11 À : "Overdrivr/micro-ci" micro-ci@noreply.github.com Objet : Re: [Overdrivr/micro-ci] OAuth testing of authentication with Githubaccount (#17)

Not really sure about this end-user test. Some folks recommend mocking http requests http://stackoverflow.com/questions/4518432/how-should-i-test-user-signup-login-with-third-party-library-like-omniauth Which would avoid performing e2e tests for this feature. — You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub