Mat Schaffer on 18 Jul 2007 03:26:06 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] Testing OpenID integration

  • From: Mat Schaffer <schapht@gmail.com>
  • To: talk@phillyonrails.org
  • Subject: Re: [PhillyOnRails] Testing OpenID integration
  • Date: Tue, 17 Jul 2007 23:25:30 -0400
  • Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=ms5bUygluZjqVa1tNzxu/7DSOYlQJ55hZb9q+A4XQJMqEBhVtF/KkxsWhK3gwPyHmP7grysXquLFsG0mT/Tu6NDvr0sIfA1BvorDghZU/Ruz9ctfyk35j4bCVQVOXrjkXhJnRDDQuirapJ3Wjn8wqd7ZUV5ctooOf7Z1aWo01vA=
  • List-archive: <http://lists.phillyonrails.org/pipermail/talk>
  • Reply-to: talk@phillyonrails.org
  • Sender: talk-bounces@phillyonrails.org

On Jul 17, 2007, at 9:38 PM, Randy Schmidt wrote:
I just added OpenID authentication to an app of mine. There are
certain things I am able to test easily, but does anybody have any
experience or thoughts on testing the whole thing? How would I
decouple the authentication process from an outside provider? I'm
thinking I should mock it but is that the best way?

This might be over the top, but what about spawning an identity provider in webrick to run a really full integration test? Not like I've tried it, just an idea. And making webrick instances isn't hard.
-Mat
_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk