> So I notice that Ryan released a new zentest gem today. It looks like
> it has been refactored a bit.
>
> Are there any brave guinea pigs/canaries in the RSpec/Cucumber
> community who have tried it out? Any issues? I do see that someone
> has been reporting some problems with multiruby which i
> >> > Is there some configuration I need to do to get rid of unit/functional
> >> > tests and only run rspec+cucumber?
> >
> > [...]
> >> I guess I should add this in some form to the rspec wiki ;)
> >
> > Done:
> > http://wiki.github.com/dchelimsky/rspec/autotest-integration
>
> Thanks Kero. I
> > Is there some configuration I need to do to get rid of unit/functional
> > tests and only run rspec+cucumber?
[...]
> I guess I should add this in some form to the rspec wiki ;)
Done:
http://wiki.github.com/dchelimsky/rspec/autotest-integration
Bye,
Kero.
___
How can I change the world
> Is there some configuration I need to do to get rid of unit/functional
> tests and only run rspec+cucumber?
This eplains all there is to explain (though terse and not from
your use case)
http://zentest.rubyforge.org/ZenTest/Autotest.html
and you now have to add code from that to your .auto
> Then I edit the files like so:
>
> ./autotest:
> Autotest.add_hook :initialize do |at|
> at.add_mapping(%r%^spec/something/.*_spec\.rb$%) do
> at.files_matching(%r%^spec/something/.*_spec\.rb$%)
> end
> end
Do you perhaps have a ~/.autotest with a hook to :initialize ?
If so, let it ret
> Questions:
>
[...]
> * pls provide a full backtrace
> * best in a gist or pastie
Imagine someone looking at the problem report
two years from now. No pastie. Then the
solution (if provided) comes without a complete problem.
Like code without a test.
Put it in an attachment, or whatever, but
>> So let me get this right,
>>
>> you agreed with Aslak that you shouldn't top post.
>>
>> by top posting
>>
> lol.. Yes. :) Sarcasm somethings doesn't come across well over email
> I suppose.
Not only that, he did it in so it was impossible for
me to see whether it was top or bottom
> Polyglot requires hoe because it's built using "newgem". It's a
> nuisance, and I'll be happy to remove it, or make hoe a dev-time
> dependency only if possible. I've contacted Dr Nic to ask how to
> proceed. In my view, using hoe shouldn't add a runtime dependency.
Hm, snippet from long `p spec
>>> So basically, I want to do something like this:
>>>
>>> examples = load_examples_without_running
>>> examples.each {|example| puts example.description}
[snip]
> I'm working into a big corporate in Australia, and they are demanding
> traceability of tests back to requirements. I'm already u
> I'd like to do this:
>
> Feature: user signup
> Before:
> Given I have a cleaned up database
> Scenario Outline: Sign Up
> Given I am on the signup page
> When I sign up using
> Then I should see
>Examples:
> |userid |message |
> |userX |suc
> This is the umpteenth time polyglot messes up. Polyglot is broken broken
> broken. Cucumber doesn't use it, but can't escape it, because Treetop
> *always* loads it. I have tried to lobby the Treetop developers to make it
> optional. I have sent a patch (as a treetop fork). It's still in there.
>
Hi list & Clifford,
> > Looks like installing hoe (which brings in rubyforge and rake) solved the
> > problem below.
>
> I just fixed that:
> http://github.com/aslakhellesoy/cucumber/commit/23cbc9b6c54ebe1ecf568610c2696762f22f0b06
Thanks Aslak, that was quick, but...
I had to try that, and the
Hi!
Looks like installing hoe (which brings in rubyforge and rake) solved the
problem below.
Who builds the gem / should I report this to / should I send a patch ?
Bye,
Kero.
---
fresh install of debian lenny, upgraded to unstable.
$ ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
> sorry.. the first point.. you're right this feature is to do with tables
> too, however this feature is orthogonal to the other one, so I decided to
> start a new thread ... I hope that was right.
Sure, just wanted to make sure you'd seen the other thread.
(on a aside note: what would example
> In Cucumber I want to remove duplication from my examples tables.
> see http://gist.github.com/99516 for an example of the type of situation I
> am facing.
>
> I would like the second example to be equivalent to the first.
>
> To do this... I need cucumber to read a row in the examples and noti
> > Without adding a new feature to Cucumber, I'd probably do
> >
> > Scenario Outline: Religious menus
> > Given the customer is a ""
> > When they ask for the menu
> > Then they should be presented with ""
> >
> > Examples:
> > | Religion | Meats |
> > | Christian | Pork,
> I've been doing something similar. I think the benefit of having half
> the steps(each can be negated) wins over the small impact it has on step
> readability. Personally I started adding stuff like this(perhaps not as
> DRY but simple enough):
>
> Then /^the correspondence should (not )?have
> That would be very cool, you have lots of good ideas there. Being able
> to plug in your own file-change strategy would be killer. Another cool
> idea I ran across the other idea is being able to specify in your
> examples that which ones are "focussed". Meaning, autotest will only
> r
> >> Cucumber could dump in the table data it found from the file, and
> >> print it out when running the scenarios, and it allows some sets of
> >> sample data be re-used easily, in an understandable manner.
If the file is used to unclutter the examples, does printing-when-running
help?
> > This
> > I find pushing last thing at night even more bizarre to be honest :/
> > If you're are going home, it seems reasonable that other people might
> > be, ergo there won't be many more changes made (an assumption
> > granted). Also, if they are going to continue to work and make
> > changes, why fo
>> yeah, you guys are probably right on this. I was just over stating. :)
>
> Ah, but Waterfall is indeed like the Emissaries of the Shadow. If you
> defeat one of them, in one form, another one will always appear, take
> shape, and grow...
>
> I myself have heard well-meaning product managers sa
>> Because traffic is increasing
That's a bad reason to split a list.
>> Because cucumber really is a seperate mature topic now.
>
> Good point. Can any newbies to the scene comment if this is confusing?
It is mature.
But is it separate?
>> Because rspec overlap is getting smaller (relatively)
$ AUTOFEATURE=true autospec # bug! prompt returns immediately, ZenTest
gem not a dependency? a warning that autotest was not found would be nice.
>>> Huh. The autospec command comes from RSpec; do you have this issue
>>> without setting AUTOFEATURE=true?
>>
>> Yup.
>>
>>
> > $ AUTOFEATURE=true autospec # bug! prompt returns immediately, ZenTest
> > gem not a dependency? a warning that autotest was not found would be nice.
>
> Huh. The autospec command comes from RSpec; do you have this issue
> without setting AUTOFEATURE=true?
Yup.
But as I only have featu
Hi!
And now for the second part of the subject of my previous mails :)
$ cat cucumber.yml
default: .
autotest: -v .
autotest-all: -v -f progress .
$ cucumber -i . -f progress
PP
Pending Scenarios:
1) enlightenment (meditation)
$ AUTOFEATURE=true autospec # bug! prompt returns immediately,
> I have added th tickets for you and am working on fixes for them.
> Although, I think the last one needs to be discussed more so please add
> your thoughts to that ticket.
>
> http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/117-cli-crashes-with-blank-cucumberyml
> http://rspec
Hi!
I'm not sure this is how cucumber should behave.
Should I file one or three tickets at
http://rspec.lighthouseapp.com/projects/16211-cucumber
?
$ cucumber -v
0.1.12
$ mkdir fresh
$ cd fresh
$ cucumber
cucumber.yml was not found. Please define your 'default' and other profiles in
cucumber.
> The benefit of doing that is it spots files that you may not have
> spec'd that you want spec'd. On the flip side you end up with a bunch
> of noise but you can eliminate that w/ the :initialize hook:
>
> Autotest.add_hook :initialize do |at|
> at.add_exception 'some_file_i_want_ignored'
> end
> > I have a spec that is hanging when it is running.
> >
> > How do I get the rspec runner to show what specs it's running so I can
> > which one is hanging? I am calling the runner from my rails project.
>
> Which formatter ate you using? If you use the specdoc formatter it will
> output the
> I was looking over some of my specs.
> I was thinking that the following:
>
> @game.should_receive(:name).and_return('The Battle for Blaze')
> @game.should_receive(:people).and_return(500)
> @game.should_receive(:activated).and_return(true)
>
> Would it look cleaner if I could do this inste
Hi!
After a bit of digging in runners, I found that I need a formatter, really.
now --format FORMAT:WHERE is explained properly by --help.
--runner otoh, is not; see below.
For the purpose of recording a user story (demo, webdemo), I run espeak
for each step and then some. It seems to me, a forma
31 matches
Mail list logo