Subject says most of it. I'd love to use Cucumber in my project but I
need to be able to install it in a Rails app and by a particular
version number.
I forked it and struggled with getting GitHub gems deployer to behave
itself.
Maybe a canonical version can be kept and updated in
Last night, I gave a presentation to the DC Ruby Users Group (http://dcrug.org
) on Plain Text Stories with Ruby. I spoke on both RSpec Plain Text
Stories, which I have used, and Cucumber which I started to dig into a
couple of nights ago. You can see the presentation here
On Sep 12, 2008, at 11:51 AM, David Chelimsky wrote:
Please keep in mind that this is an *additional* way to do things -
you can still write your steps exactly as you do in Story Runner,
using regexps.
Ah, good point. I missed that nuance in your comment on my blog.
Perhaps the presence of
On Sep 12, 2008, at 11:50 AM, David Chelimsky wrote:
I commented on your blog.
Yup, I know. I know very well who you are, David. ;-) I've seen you
speak a few times and even chatted with you briefly outside RailsConf
'08 about this crazy idea that I had to redo RSpec Plain Text
On Sep 12, 2008, at 12:14 PM, David Chelimsky wrote:
What you're proposing might look this:
Scenario: division
Given a numerator
And a denominator
Then the calculator should provide a quotient
|numerator|denominator|quotient|
This will put some constraints on the phrasing that might be
On Sep 12, 2008, at 12:26 PM, David Chelimsky wrote:
I believe that binding the table to the phrasing would be
immensely
useful and perhaps even crucial to Scenario authors.
Can you give an example of how this would be helpful?
I'll try.
Let's define a couple of roles for, the
The following works:
it should evaluate a passed in block in the context of the
interview object do
block = Proc.new { raise unless self.is_a?
(Interview) }.should_not raise_error
Interview.create(:title = Text, block)
end
However, the following does not:
it should
There are also a couple of examples buried in the trunk under
examples/story/game-of-life/behaviour/stories
On Sep 20, 2007, at 10:13 AM, Andrew WC Brown wrote:
I'm guessing their isn't a generator for stories yet?
./script/generate story add_person
On 9/20/07, James Hughes [EMAIL
I've been using RSpec in anger for perhaps a total of a few days
and just started playing with Story Runner. Love it.
I also started working on a patch, which ought to be simple, to
allow for Scenarios without supplied blocks to be treated as pending
-- much like it in
On Sep 14, 2007, at 7:10 PM, Pat Maddox wrote:
I agree that it would be nice if story runner treats an empty
Given/When/Then as pending. But what do you mean it treats pending as
an error case?
The actual implementation of how a Scenario is defined as pending.
The implementation raises a
On Sep 13, 2007, at 6:10 PM, Pat Maddox wrote:
On 9/12/07, Evan David Light [EMAIL PROTECTED] wrote:
... (Evan's RSpec n00bish ramblings) ...
Thanks,
Evan
Hi Evan,
I think you have the right idea about approaching specification from
the user's viewpoint (or more appropriately
Granted that I'm new too; however, assigns[:hash] creates a member
variable @hash that is made available to the view. Maybe that's the
problem? Modify your view to use @hash instead.
On Sep 12, 2007, at 5:20 AM, Shaker wrote:
Hello everyone:
I am quit new to View test using
Disclaimer: The following are observations by a relatively new user
(couple of weeks) of RSpec and not intended as RSpec trollbait.
Also, forgive me if similar topics have been discussed elsewhere on
the mailing list. I at least did the due diligence of a quick search.
That
Awesome! That's a whole lot more of a response than I had
anticipated. Thanks!
On Sep 12, 2007, at 6:15 PM, David Chelimsky wrote:
On 9/12/07, Evan David Light [EMAIL PROTECTED] wrote:
I like to start w/ integration tests before anything exists at all.
You can do that w/ Rails
On Sep 12, 2007, at 7:35 PM, David Chelimsky wrote:
Story Runner is a new one for me. I'll have to look it up. Thanks!
(Halfway through writing this, I realized, courtesy of Google,
that it's a
recently integrated piece of functionality into RSpec-on-Rails. I
found
this example of
15 matches
Mail list logo