Code review comment for lp:~carla-sella/reminders-app/new-reminders-app-tests

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Explored options to automate a way to create an account for this as part of the test.

Using account console, or mocking some sql entries it's possible to create a new online account. However, doing actual oauth seems to require an interactive session (per mardy and ken). Therefore we need to have this use a fake provider that we can mock authenticate to and get notes, etc (which also solves the test account problem), or add a setup process to follow the steps to add the evernote account to the client.

At this point, I think mocking might easier, and would be preferred. Do we have a way of faking the data we would normally need from the server?

« Back to merge proposal