On Wed, Aug 20, 2008 at 6:24 PM, Ben Mabey <[EMAIL PROTECTED]> wrote:
> aslak hellesoy wrote:
>> The RSpec Story runner is likely to be deprecated in favour of the new
>> feature runner (temporarily called Cucumber).
>> http://www.nabble.com/-ANN--Cucumber-td18876816.html
>>
>> The RSpec Story runn
aslak hellesoy wrote:
Of how you would use it. Assume that you have something like this for
scenario-level before/after:
class MySteps < Cucumber::Steps # Same as Story runnner steps_for(:my)
Before do
# This block will run before all scenarios that use steps from MySteps
# Any scenarios
I agree with Pat also. But I think importantly we need a little
tool/guide on converting the old stories to cucumber before any
movement.
I'm currently evaluating moving our stories to cucumber. I'll see if I
can put something together that might help others (if its not already
available?).
A
Hi Aslak
2008/8/20 aslak hellesoy <[EMAIL PROTECTED]>:
> On Wed, Aug 20, 2008 at 2:19 PM, aidy lewis <[EMAIL PROTECTED]> wrote:
> Would you consider storing the code in Cucumber's watir example
> directory? examples/watir_gmail. That way it's easier to maintain if
> Cucumber changes.'
>
Yes, wil
Hi David,
Thanks for getting back. I piped it.
system("ruby #{full_path} -fh > C:\\rspec_reports\\#{file_name}.htm")
Works fine (in windows)
Aidy
2008/8/20 David Chelimsky <[EMAIL PROTECTED]>:
> On Tue, Aug 19, 2008 at 7:09 AM, aidy lewis <[EMAIL PROTECTED]> wrote:
>> Hi David,
>>
>> 2008/8/
On Tue, Aug 19, 2008 at 7:09 AM, aidy lewis <[EMAIL PROTECTED]> wrote:
> Hi David,
>
> 2008/8/18 David Chelimsky <[EMAIL PROTECTED]>:
>
>> Those options don't make it to the runner, which reads the actual
>> command line (ARGV).
>>
>> What I typically do is load up runner files that look like this:
I gave up on solving this. Very very strange that it even occurs.
Stranger still that I circumvented the problem by writing a view helper
to construct the url like this:
def private_fund_form_url(fund)
if fund.new_record?
funds_url(:host => PRIVATE_HOST)
else
fund_url(fund,
aslak hellesoy wrote:
> The RSpec Story runner is likely to be deprecated in favour of the new
> feature runner (temporarily called Cucumber).
> http://www.nabble.com/-ANN--Cucumber-td18876816.html
>
> The RSpec Story runner will continue to exist for a while, I just
> wanted to let you know that f
On Wed, Aug 20, 2008 at 5:32 PM, Mark Wilden <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 20, 2008 at 7:49 AM, aslak hellesoy <[EMAIL PROTECTED]>
> wrote:
>>
>> Regarding Cucumber - yes, the name is completely meaningless, but a
>> couple of chicks who attended my presentation about it at Agile 2008
>>
On Wed, Aug 20, 2008 at 7:49 AM, aslak hellesoy <[EMAIL PROTECTED]>wrote:
>
> Regarding Cucumber - yes, the name is completely meaningless, but a
> couple of chicks who attended my presentation about it at Agile 2008
> told me afterwards it made their mind drift... That's good enough for
> me.
>
On Wed, Aug 20, 2008 at 4:20 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 20, 2008 at 9:04 AM, Jonathan Linowes
> <[EMAIL PROTECTED]> wrote:
>>
>> On Aug 20, 2008, at 2:20 AM, Aslak Hellesøy wrote:
>>
>>> (In Cucumber it's Feature, not Story)
>>
>> no offense, but while you're bein
On Wed, Aug 20, 2008 at 9:04 AM, Jonathan Linowes
<[EMAIL PROTECTED]> wrote:
>
> On Aug 20, 2008, at 2:20 AM, Aslak Hellesøy wrote:
>
>> (In Cucumber it's Feature, not Story)
>
> no offense, but while you're being picky about names, I dont see too much
> difference between 'story' and 'feature'
I
On Aug 20, 2008, at 2:20 AM, Aslak Hellesøy wrote:
(In Cucumber it's Feature, not Story)
no offense, but while you're being picky about names, I dont see too
much difference between 'story' and 'feature'
but 'cucumber' is a really random meaningless name
_
David Chelimsky wrote:
> Please post the code example.
I have reduced the failing Rspec code to this:
require File.dirname(__FILE__) + '/../../spec_helper'
describe "funds/_form.fbml.erb" do
before(:each) do
@current_user = stub_model(User)
@fund = stub_model(Fund, :supporters => [EMAI
Please post the code example.
On Wed, Aug 20, 2008 at 8:09 AM, RSL ___ <[EMAIL PROTECTED]> wrote:
> Thanks, David but unfortunately for me this is happening on 2.0.2 Rails,
> with rspec/rspec-rails, from about a month and a half ago. Must be
> something else. Here's hoping someone else has run acr
On Wed, Aug 20, 2008 at 2:19 PM, aidy lewis <[EMAIL PROTECTED]> wrote:
> Lies here
>
> gem install watir
>
> http://wiki.openqa.org/display/WTR/Example+Frameworks
>
> I will need to port this to Cucumber
>
That would be great!
Would you consider storing the code in Cucumber's watir example
direct
Thanks, David but unfortunately for me this is happening on 2.0.2 Rails,
with rspec/rspec-rails, from about a month and a half ago. Must be
something else. Here's hoping someone else has run across this. :/
--
Posted via http://www.ruby-forum.com/.
___
Lies here
gem install watir
http://wiki.openqa.org/display/WTR/Example+Frameworks
I will need to port this to Cucumber
Feedback Welcome.
Aidy
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
+1
cheers,
Matt
http://blog.mattwynne.net
http://songkick.com
In case you wondered: The opinions expressed in this email are my own
and do not necessarily reflect the views of any former, current or
future employers of mine.
On 20 Aug 2008, at 01:40, Jay Levitt wrote:
I don't even
On Wed, Aug 20, 2008 at 8:32 AM, Jim Morris <[EMAIL PROTECTED]> wrote:
> Aslak Hellesøy wrote:
>
>>>
>>> I'd like to have a before story and after story as well as a before
>>> scenario and after scenario.
>>>
>>> Right now I do global setup for a story, and cleanup when the story is
>>> done. I al
20 matches
Mail list logo