David Chelimsky wrote:
On Sat, Mar 7, 2009 at 3:03 PM, Nathaniel Brown wrote:
I get the following error using both edge version of the TM bundle and
rspec/rspec-rails in vendor/plugins.
/Users/nshb/Library/Application Support/TextMate/Bundles/
RSpec.tmbundle/Support/lib/spec/mate.rb:2:in `r
Hmm - it might be because I had both cucumber-0.1.16 and the
aslakhellesoy-cucumber gem installed - I'll try to get rid of the old
cucumber gem and see if that helps. (Though my initial attempts are causing
all sorts of pain with things that seem to require 'cucumber' not
'aslakhellesoy-cucumber'
I'm a bit confused.
I have a scenario similar to (numbered for clarity):
Scenario: view basic
1) Given I am logged in as 'fred'
2) When I navigate to the 'foo' tab
3) And I select the 'bar' node
4) Then the node 'baz' is displayed
Now, when I have a problem that the 'foo' tab
On Fri, Mar 13, 2009 at 8:05 AM, Korny Sietsma wrote:
> Hmm - it might be because I had both cucumber-0.1.16 and the
> aslakhellesoy-cucumber gem installed - I'll try to get rid of the old
> cucumber gem and see if that helps. (Though my initial attempts are causing
> all sorts of pain with thin
What is the right place to load fixtures specific to a given scenario? I
was thinking of using Worlds. Is it the right place for loading/deleting
fixtures? How do I specify which world scenario should run in?
--
Posted via http://www.ruby-forum.com/.
___
Hi all,
How can I get cucumber to tell me how long my entire feature set has
taken to run?
(In the same way that RSpec does, for example)
I have taken a look at the profile formatter, which is very cool and
useful but doesn't give the overall time for the feature 'suite'.
I know that (on *nix)
On Fri, Mar 13, 2009 at 9:42 AM, steven shingler wrote:
> Hi all,
>
> How can I get cucumber to tell me how long my entire feature set has
> taken to run?
>
By submitting a feature request :-)
http://wiki.github.com/aslakhellesoy/cucumber/get-in-touch
Aslak
>
> (In the same way that RSpec do
steven shingler wrote:
Hi all,
How can I get cucumber to tell me how long my entire feature set has
taken to run?
(In the same way that RSpec does, for example)
I have taken a look at the profile formatter, which is very cool and
useful but doesn't give the overall time for the feature 'suite'
done!
Thanks,
Steven
On Fri, Mar 13, 2009 at 9:36 AM, aslak hellesoy
wrote:
>
>
> On Fri, Mar 13, 2009 at 9:42 AM, steven shingler wrote:
>>
>> Hi all,
>>
>> How can I get cucumber to tell me how long my entire feature set has
>> taken to run?
>
> By submitting a feature request :-)
>
> http://w
Have jotted a ticket here:
http://rspec.lighthouseapp.com/projects/16211/tickets/228-get-cucumber-to-tell-me-how-long-my-entire-feature-set-has-taken-to-run#ticket-228-1
Please edit accordingly :)
On Fri, Mar 13, 2009 at 9:58 AM, Joseph Wilk wrote:
> steven shingler wrote:
>>
>> Hi all,
>>
>>
Fedor Fomenko wrote:
What is the right place to load fixtures specific to a given scenario? I
was thinking of using Worlds. Is it the right place for loading/deleting
fixtures? How do I specify which world scenario should run in?
There 3 options I can think of:
1. Background Feature
This all
Webrat 0.4.2 doesn't seem to allow you to click links by title. Am I missing
something stupid?
With steps below running in sequence, first passes, second fails
Then /^I should see a view (\w+) details link$/ do |object|
response.should have_tag("a[title=#{object}_details]")
end
When /^I follow
On Mar 13, 2009, at 3:11 AM, Joseph Wilk wrote:
Fedor Fomenko wrote:
What is the right place to load fixtures specific to a given
scenario? I
was thinking of using Worlds. Is it the right place for loading/
deleting
fixtures? How do I specify which world scenario should run in?
There 3 opt
On Fri, Mar 13, 2009 at 11:37 AM, Pat Maddox wrote:
> On Mar 13, 2009, at 3:11 AM, Joseph Wilk wrote:
>
> Fedor Fomenko wrote:
>>
>>> What is the right place to load fixtures specific to a given scenario? I
>>> was thinking of using Worlds. Is it the right place for loading/deleting
>>> fixtures
Hi
Just noticed that the behaviour of
@cow.should_not be_hungry
is not the same as
@cow.hungry?.should == false # nil also passes
Don't know how this has escaped me for so long =)
What's the thinking behind this? You can already do
@cow.hungry?.should(_not) be_nil
so surely it makes
Hi all,
There are two tickets in lighthouse that point to problems with the
use of context() in RSpec:
* conflict with JRuby:
http://rspec.lighthouseapp.com/projects/5645/tickets/728
* request context() be deprecated
http://rspec.lighthouseapp.com/projects/5645/tickets/713
As there are a lot
Hello!
I'm trying to spec a method, that has several chained calls.
http://gist.github.com/78562 (spec)
http://gist.github.com/78563 (model)
In the first spec, I'm trying to focus on the method calls that have to be
made, and the arguments they should receive.
Is there a better way to spec the
Steven Shingler wrote:
> Hi all,
>
> How can I get cucumber to tell me how long my entire feature set has
> taken to run?
>
$ time rake features
...
29 scenarios
165 steps passed
4 steps failed
10 steps skipped
rake aborted!
Command failed with status (1): [/usr/bin/ruby -I
"/usr/lib64/ruby/ge
On Fri, Mar 13, 2009 at 5:17 AM, Ashley Moran >
> Just noticed that the behaviour of
>
> �...@cow.should_not be_hungry
>
> is not the same as
>
> �...@cow.hungry?.should == false # nil also passes
>
> Don't know how this has escaped me for so long =)
>
> What's the thinking behind this? You can al
You might want to look into using a null object, and breaking that first
spec up into several examples
(a null object returns itself when sent a message it doesn't know how to
handle)
http://gist.github.com/78570
I've built more than a few named_scope chains using this pattern, and it
seems to w
Levy Carneiro Jr. wrote:
Hello!
I'm trying to spec a method, that has several chained calls.
http://gist.github.com/78562 (spec)
http://gist.github.com/78563 (model)
In the first spec, I'm trying to focus on the method calls that have
to be made, and the arguments they should receive.
Is th
I'm looking for feature examples for web apps, I imagine Balint is as well?
2009/3/11 Matt Wynne :
>
> On 11 Mar 2009, at 19:46, Zach Dennis wrote:
>
>> On Wed, Mar 11, 2009 at 3:03 PM, Balint Erdi wrote:
>>>
>>> Hi,
>>>
>>> I was looking for some "real-world" cucumber features (mainly on github)
On 12 Mar 2009, at 23:23, Bill Venners wrote:
I guess I'm curious:
1) How important is it to you to be able to just "strike out" the
lines of code within an example that are failing (as you can with
RSpec's #3 pending form), versus just "striking out" the entire
example as you can with ignore
On Mar 13, 2009, at 5:17 AM, Ashley Moran wrote:
Hi
Just noticed that the behaviour of
@cow.should_not be_hungry
is not the same as
@cow.hungry?.should == false # nil also passes
Don't know how this has escaped me for so long =)
What's the thinking behind this? You can already do
@cow
Hi James,
Yep, I mentioned the time command in my original post, I'm looking for
a within-cucumber option. :)
Thanks,
Steven
On Fri, Mar 13, 2009 at 2:12 PM, James Byrne wrote:
> Steven Shingler wrote:
>> Hi all,
>>
>> How can I get cucumber to tell me how long my entire feature set has
>> tak
On Fri, Mar 13, 2009 at 3:22 PM, Oliver Barnes wrote:
> I'm looking for feature examples for web apps, I imagine Balint is as well?
>
What kind of webapp? Merb? JEE? Rails? Sinatra? ASP.NET? PHP? other?
Aslak
>
> 2009/3/11 Matt Wynne :
> >
> > On 11 Mar 2009, at 19:46, Zach Dennis wrote:
> >
Hi Matt and others,
Thanks for your replies. I think I've settled on just using two of
RSpec's pending forms in ScalaTest. If you want to write out a few
spec texts before writing the examples, you'd put pending in parens
where you'd normally put the block of example code:
it("should do something
On 13 Mar 2009, at 15:42, Pat Maddox wrote:
On Mar 13, 2009, at 5:17 AM, Ashley Moran wrote:
Hi
Just noticed that the behaviour of
@cow.should_not be_hungry
is not the same as
@cow.hungry?.should == false # nil also passes
Don't know how this has escaped me for so long =)
What's the thi
Rails, but any other would be helpful as well, really.
Just a repo of varied real-world cucumber feature examples already
would help a lot, even without the feature steps or an actual
developed app. I've been mining samples from pasties, tutorials and
from github, but have found only a few scatter
On Fri, Mar 13, 2009 at 7:13 PM, Oliver Barnes wrote:
> Rails, but any other would be helpful as well, really.
>
> Just a repo of varied real-world cucumber feature examples already
> would help a lot, even without the feature steps or an actual
> developed app. I've been mining samples from past
On 13 Mar 2009, at 16:34, Matt Wynne wrote:
The expanded form of
@cow.should_not be_hungry
is
@cow.hungry?.should_not be
Pat
Like yoda sounds, that does
And enlightened, I am =)
Thanks Pat
--
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran
http://aviewfromafar.net/
ht
List,
Quick question about Cucumber/Gherkin.
I'm considering adding 'With' as a step definition to support scenarios like:
Given a policy
With a PCF practice state
And a secondary risk
...
I'm fairly new to ruby - but I can't quite get this one figured out. I've tried
adding
Cucumber.alias_st
On Fri, Mar 13, 2009 at 10:28 PM, Tim Hart wrote:
> List,
>
> Quick question about Cucumber/Gherkin.
>
> I'm considering adding 'With' as a step definition to support scenarios
> like:
>
> Given a policy
> With a PCF practice state
> And a secondary risk
> ...
>
> I'm fairly new to ruby - but I c
Has anyone noticed a slowdown in performance of their cucumber suite
from 0.1 to 0.2alpha?
I haven't ruled out something in our suite itself, but the slowdown
appeared to occur concurrently with our upgrade to 0.2alpha.
Cheers,
Luke
--
Luke Melia
l...@lukemelia.com
http://www.lukemelia.com/
34 matches
Mail list logo