MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

Revision 401593 of Testing

  • Revision slug: Mozilla/Persona/The_implementor_s_guide/Testing
  • Revision title: Testing
  • Revision id: 401593
  • Created:
  • Creator: atul
  • Is current revision? No
  • Comment
Tags: 

Revision Content

If you're making a production system you will need to write integration tests that simulate logging a user in and out of your site using Persona.

If you're using Selenium for testing, consider using the bidpom library. The sites mockmyid.com and personatestuser.org may also be helpful.

You may also want to consider stubbyid.

Revision Source

<p>If you're making a production system you will need to write integration tests that simulate logging a user in and out of your site using Persona.</p>
<p>If you're using <a href="http://docs.seleniumhq.org/" title="http://docs.seleniumhq.org/">Selenium</a> for testing, consider using the <a href="https://github.com/mozilla/bidpom" title="https://github.com/mozilla/bidpom">bidpom</a> library. The sites <a href="https://mockmyid.com/" title="https://mockmyid.com/">mockmyid.com</a> and <a href="http://personatestuser.org" title="http://personatestuser.org">personatestuser.org</a> may also be helpful.</p>
<p>You may also want to consider <a href="http://toolness.github.io/stubbyid/" title="http://toolness.github.io/stubbyid/">stubbyid</a>.</p>
Revert to this revision