Looks great Yehuda!
Controller testing the way I like it.

On Sun, Oct 5, 2008 at 8:50 PM, Yehuda Katz <[EMAIL PROTECTED]> wrote:
> David J.,
> You're in luck! We're going to recommend testing Merb apps exactly the way
> you'd like to, and the mechanisms for doing so have recently been added to
> HEAD.
> Take a look at http://gist.github.com/14910 for an example of how to use the
> new helpers. Note that if you use the request() helper on HEAD (soon to be
> released as 0.9.8) sessions are automatically sticky, so within a given
> test, you can just hit the login URL, and any other requests in that test
> will be logged in.
> -- Yehuda
> On Sun, Oct 5, 2008 at 11:33 AM, David J. <[EMAIL PROTECTED]> wrote:
>>
>> I'm looking for recommendations on how to test a RESTful Merb app's
>> controllers and models, including setting up sessions.
>>
>> Is there a good Merb open source example that you would recommend?
>>
>> I am considering full-stack testing (i.e. RSpec stories) or other
>> ways.
>>
>> Thanks,
>> David
>>
>> P.S. I looked over:
>> http://wiki.merbivore.com/pages/controller-specs
>> and it recommends mocking out the models, so it is not quite the
>> approach I'm looking for.
>>
>>
>>
>>
>
>
>
> --
> Yehuda Katz
> Developer | Engine Yard
> (ph) 718.877.1325
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to