From: David Spurr <david.sp...@gmail.com>
Date: Thu, 28 Feb 2008 01:56:22 -0800 (PST)
Local: Thurs, Feb 28 2008 4:56 am
Subject: Re: Functional testing Rails controllers with RubyAMF?
I know I didn't post my response too long ago but after a bit of sleep
I've decided that if I can't get some sort of testing for AMF done then I can't really use it right now. I'm happy to spend the time creating the test helper and will release anything I create under the same licence as RubyAMF. But it would be really helpful if some of you guys who have more knowledge about how RubyAMF works internally could give me a pointer here and there that would be great. But firstly is what I want to do even possible. I gave up in the early
amfobj = AMFObject.new
But that didn't work out very well.
I could do with knowing what the absolute minimum is for an amfobj for
On Feb 28, 1:58 am, David Spurr <david.sp...@gmail.com> wrote:
> Well I'm trying to knock together some sort of helper that would aid
> functional testing with RubyAMF. > My idea goes along the lines of this:
> Have a helper that defines a post_amf method, using this from your
> Inside the post_amf method it switches out the controller your testing
> amf_post :index, [ :param = 'something' ]
> 1. Serializes the request, with the source set to the name of the
> If that works then that 'should' be calling the amf gateway with
> Then you would also need a helper method to test that the response was
> I know I'm over-simplifying things there (as I have spent the past
> That code has it calling the gateway how I envisioned it, but I'm
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||