Hi,
I have a need for the StepGroup feature in stories but not clear
what's the current api. Could you provide an example?
In my case I have several scenarios which vary in the Givens, but not
the results. Ideally I'm hoping to achieve something like: (but
anything will do for now :)
Scenar
I just went through this myself yesterday, and was considering
posting an article on my blog, but figured it'd be too short lived,
once the doc page is up on the rspec site. So I'll post here what
I've cobbled together from various other articles, emails, and
generous help on #rspec.
1. DE
On Dec 19, 2007, at 10:42 PM, David Chelimsky wrote:
> On Dec 20, 2007 12:25 AM, James Deville <[EMAIL PROTECTED]>
> wrote:
>>
>>
>> On Dec 19, 2007, at 10:16 PM, David Chelimsky wrote:
>>
>>> On Dec 19, 2007 11:50 PM, James Deville <[EMAIL PROTECTED]>
>>> wrote:
On Dec 19, 2007,
On 21 Dec 2007, at 19:59, Jonathan Leighton wrote:
> Hi all,
>
> Are there any plans for better documentation for the new StoryRunner
> feature? I tried to use it today (with Rails), and had a hard time
> getting my head around whether I was doing it "right" and exactly what
> things are appropria
Yeah, this is truly needed, you have a second from me.
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.1
On Dec 21, 2007, at 1:59 PM, Jonathan Leighton wrote:
> Hi all,
>
> Are there any plans for better documentation for the new StoryRunner
> feature? I tried to use it to
Hi all,
Are there any plans for better documentation for the new StoryRunner
feature? I tried to use it today (with Rails), and had a hard time
getting my head around whether I was doing it "right" and exactly what
things are appropriate to test at that level (this might be exacerbated
by the fact
> to stub or mock this in some way. I think I just need some
> guidance on how to approach something like this.
>
> Do I just ignore the implementation details?
> Do I push the actual posting of data to a private method and mock
> that method so that I can verify that it is being called?
> Wou
Thanks Pat,
When I wrote my first message, I think I was missing a big part of the
Mock/Stub capabilities. I thought you could only stub or mock methods of a
particular instance that had been set up already in the spec. However, I
realize now that you can also stub/mock class methods.
I think my
On Dec 21, 2007, at 1:30 PM, jimmy zimmerman wrote:
> I'm building an http communicator class for a web service API
> wrapper and I'm trying to go through the BDD process in doing so.
> I'm having a bit of a struggle figuring out how to set up the tests
> in relation to isolating things app
On Dec 21, 2007 10:30 AM, jimmy zimmerman <[EMAIL PROTECTED]> wrote:
> I'm building an http communicator class for a web service API wrapper and
> I'm trying to go through the BDD process in doing so. I'm having a bit of a
> struggle figuring out how to set up the tests in relation to isolating
> t
I'm building an http communicator class for a web service API wrapper and
I'm trying to go through the BDD process in doing so. I'm having a bit of a
struggle figuring out how to set up the tests in relation to isolating
things appropriately as well as testing behavior vs testing implementation.
S
11 matches
Mail list logo