Re: [rspec-users] New Zentest, any feedback?

2009-06-03 Thread Kero van Gelder
. when I do something with git, add_exception %r{\.git} triggers nothing anymore, whereas the previous gem triggered a run of cucumber, which was remendously annoying). I'm not using rails and also not using any other sort of additional framework. no webrat, etc. Bye, Kero. ___ How can I c

Re: [rspec-users] autotest?

2009-05-21 Thread Kero van Gelder
> >> > 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.gi

Re: [rspec-users] autotest?

2009-05-21 Thread Kero van Gelder
> > 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 c

Re: [rspec-users] autotest?

2009-05-21 Thread Kero van Gelder
d. Very relevant if you have both ~/.autotest and .autotest I guess I should add this in some form to the rspec wiki ;) Bye, Kero. ___ How can I change the world if I can't even change myself? -- Faithless, Salva Mea ___ rspec-users mai

Re: [rspec-users] Including extra directories for Autospec

2009-05-18 Thread Kero van Gelder
itialize ? If so, let it return nil, like this: Autotest.add_hook :initialize do |at| %w{.svn .hg .git}.each {|exception| at.add_exception(exception) } nil end It's documented, but a nasty default behaviour. Bye, Kero. ___ How can I change the world if I can't even change

[rspec-users] request for gists / pasties

2009-05-10 Thread Kero van Gelder
or whatever, but keep the two together, please. Bye, Kero. ___ How can I change the world if I can't even change myself? -- Faithless, Salva Mea ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] top posting and plain text

2009-05-07 Thread Kero van Gelder
ger than an iPhone) and turn out to contain not much more than "yes", "thanks" or "see lighthouse ". Bye, Kero. ___ How can I change the world if I can't even change myself? -- Faithless, Salva Mea ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] [Cucumber] gem missing dependencies

2009-05-03 Thread Kero van Gelder
.8.0, development) <= not runtime anymore! same 0.2.5 polyglot gem! $ cucumber 0 scenarios () 0 steps () $ Bye, Kero. ___ How can I change the world if I can't even change myself? -- Faithless, Salva Mea ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] [rspec] loading specs as an object model without running them

2009-04-29 Thread Kero van Gelder
rojects that'll result in medical devices and we are learning how regulations, audits and things work for real. So I'd like to hear why you are trying to do what you do. There can be other requirements for other reasons. What traceability are you looking for in these tests? Why do you

Re: [rspec-users] Before and After blocks for individual feature files?

2009-04-28 Thread Kero van Gelder
|message | > |userX |successful signup | > |userX |duplicate userid | Feature: user signup Scenario: succesful signup When I sign up using Kero Then I should see welcome Kero Scenario: failed signup of existing user Given there is a user Kero Whe

Re: [rspec-users] [Cucumber] gem missing dependencies

2009-04-27 Thread Kero van Gelder
polyglot is easy to automate. If it'd be done when creating the gem, as well as on rubyforge before it's put in the feed, I guess noone can complain. Bye, Kero. ___ How can I change the world if I can't even change myself? -- Faithless, Salva Mea ___

Re: [rspec-users] [Cucumber] gem missing dependencies

2009-04-27 Thread Kero van Gelder
st_helper.rb", "test/test_polyglot.rb", "website/index.html", "website/index.txt", "website/javascripts/rounded_corners_lite.inc.js", "website/stylesheets/screen.css", "website/template.rhtml"], @has_rdoc=true, @specification_version=2,

[rspec-users] [Cucumber] gem missing dependencies

2009-04-26 Thread Kero van Gelder
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

Re: [rspec-users] [Cucumber] Options in tables

2009-04-22 Thread Kero van Gelder
eally scale when you have more than two states... It scales fine when the state does not matter, no "double" steps at all. I'm out of ideas, time for someone else to chime in :) > > It's being a really good experience in my current project to work so > > closely w

Re: [rspec-users] [Cucumber] Options in tables

2009-04-22 Thread Kero van Gelder
list: [Cucumber] Tables 2) [new|expired] does not matter, so you don't need the column at all you can put two checks in the step definition, I think. perhaps this allows you to write the remaining steps in another way, without duplication of steps. Bye, Kero. ___ How c

Re: [rspec-users] [Cucumber] Tables

2009-04-22 Thread Kero van Gelder
the algorithm. The sequences are concrete examples to show the differences between the outcomes of the four algorithms. What strikes me in your meat examples, is that there is a mapping from religion to types of meat that can be served (or dishes, in the end). You can test that the mapping works,

Re: [rspec-users] Cucumber - step negating another expecting step

2009-04-18 Thread Kero van Gelder
sponse.should have_tag('form#peopleSearch') end Then /^I should not see the people search form$/ do response.should_not have_tag('form#peopleSearch') end is higher for me, as I only need to think what the have_tag means, but do not have to parse the shou

Re: [rspec-users] Spec run heuristics (Re: Cucover: coverage-aware 'lazy' cucumber runs)

2009-04-13 Thread Kero van Gelder
unds bad from a technical Point of view. The second one comes from the observation that "focussing" is a process, not a property. You state "you remove the focussed tag" yourself. "important" could be a property, if you don't remove it. Bye, Kero. ___ How ca

Re: [rspec-users] Reuse of Cucumber Features

2009-04-11 Thread Kero van Gelder
e case here. Reading and writing files is easy enough (yaml, marshal, comma separated files, ...) without special features. Providing data can be done with Given("Scenario Morning rush hour") { Given flight 1234 leaving 08:30 And flight 2345 leaving 08:32 And flight 2346 leavin

Re: [rspec-users] [cucumber] Cucumber and CI

2009-02-24 Thread Kero van Gelder
> > 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

Re: [rspec-users] [cucumber] Cucumber and CI

2009-02-24 Thread Kero van Gelder
er form. That's because they still have not learned that in order to manage uncertainty, you have to acknowledge that there is uncertainty, first. Which is not to say I'm doing a good job at explaining that to my customer, yet :( Bye, Kero. _

Re: [rspec-users] Time for seperate cucumber mailing list?

2009-01-17 Thread Kero van Gelder
my models and viewers are out of control! [Cucumber] I can not heckle the pickles [spec] it should do to allow people to filter automagically what they are not interested in. A little bit of discipline that should come easily when you wonder the entire day about the best specs and stories, and vari

Re: [rspec-users] Autospec does not work w/ cucumber features?

2008-12-12 Thread Kero van Gelder
er rspec, I suppose: http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/134-autospec-does-not-pick-up-profiles Bye, Kero. ___ How can I change the world if I can't even change myself? -- Faithless, Salva Mea ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Autospec does not work w/ cucumber features?

2008-12-06 Thread Kero van Gelder
. But as I only have features, I would not expect it to do anything in that case ;) Bye, Kero. ___ How can I change the world if I can't even change myself? -- Faithless, Salva Mea ___ rspec-users mailing list rspec-users@rubyforge.org http://ruby

[rspec-users] Autospec does not work w/ cucumber features?

2008-12-06 Thread Kero van Gelder
lesoy/cucumber/wikis/autotest-integration any ideas? NB: where to file the autospec/autotest warning missing bug; rspec plain? rspec-cucumber? Bye, Kero. ___ How can I change the world if I can't even change myself? -- Faithless, Salva Mea ___

Re: [rspec-users] Cucumber and autospec do not work ?

2008-12-06 Thread Kero van Gelder
umberyml > http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/118-confusing-error-message-with-blank-default-profile-defined > http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/119-not-using-default-profile-when-expected Thank you! Comment added to 119 Bye, Kero. ___ How c

[rspec-users] Cucumber and autospec do not work ?

2008-12-05 Thread Kero van Gelder
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.

Re: [rspec-users] how to write spec for infinite loop?

2008-06-01 Thread Kero
>> I've got trouble when describe infinite loop. >> >> code snippet: >> >> def start_loop >>while true >> data = self.server.handle_client >> if data >>self.manager.dispatch(data) >> end >>end >> end >> >> without the loop, it is easy to test the logic. >> but how c

Re: [rspec-users] Return code for running stories

2008-05-03 Thread Kero
e rspec to get this functionality or just apply my patch.: > http://rspec.lighthouseapp.com/projects/5645/tickets/228-story-runner-exit-code Ironic, this is about the first thing that happened when I stepped off the list ;) Also, I had looked at HEAD svn, but it seems I need a git r

[rspec-users] Return code for running stories

2008-05-02 Thread Kero
which does not really surprise me). So how to get the success/pending/failure of the stories out? Should I write a formatter/listener that exit(1)s on failure? Bye, Kero. PS: I'm back after a few months, and -behold- it looks like I can use rspe

Re: [rspec-users] bad specs better than none?

2008-02-28 Thread Kero
> Green suite, quality tests Unconsiously Competent where the fourth stage flows back into the first stage, either because you stop learning, get stuck ("vastgeroest" in Dutch), and cease to be competent, or because you pick up new, additional things, and therefor have to start a

[rspec-users] New generated RSpec Video, demonstrating a GTK app

2008-02-28 Thread Kero
esis (sox refuses to play some of the shorter espeak wavfiles, I bet sox is right and espeak is wrong) and encoding video. Bye, Kero. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] bad specs better than none?

2008-02-27 Thread Kero
s a teacher, then teach, small steps at a time, by showing what is wrong. when they figure out a solution by themselves, encourage them, accept that solution (use it yourself). When they don't figure it out by themselves (likely enough), show how you would do it. And be prepared to repeat y

Re: [rspec-users] Old Style Stories

2008-02-22 Thread Kero
> > > so is writing in Ruby". This begs the question now that we have plain > > > text stories. Can we make the ruby-based stories more developer > > > friendly? Perhaps remove string identifiers, use symbols. Quit passing > > > in blocks to story parts, assume each story part is a method c

Re: [rspec-users] Old Style Stories

2008-02-20 Thread Kero
> > I was working on a past project tonight to trunk which is using the > > old story format. IE: > > Given "desc" do / end > > When "someting "do /end > > etc.. > > > > Is this officially supported, or is this just something that hasn't > > been ripped out yet? > > It's funny to me that thi

Re: [rspec-users] Generated rspec video

2008-02-13 Thread Kero
ee.dyndns.org/ruby/ but xine and vlc only do audio as well as video on the wmv8+wmav2 video. Showed the stuff yesterday on NYC.rb, got one comment to hook this up to selenium (instead of the -f p -c). and that the nice thing: these formatters (listeners) allow you

Re: [rspec-users] .html.erb files and autotest

2008-01-14 Thread Kero van Gelder
nore_file or at.ignore ? I like the last one best. Bye, Kero. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] How to trace running spec

2008-01-13 Thread Kero van Gelder
) about a step *before* the step is executed, such that the customer knows what will happen, instead of heard what has just happened. Time to write a ticket on lighthouse? Bye, Kero. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Do you think it would look cleaner?

2008-01-01 Thread Kero van Gelder
it look cleaner if I could do this instead? > > @game.should_recieve_and_return( > :name => 'The Battle for Blaze' > :people => 500 > :activated => true) > > Opinions? A Hash is not ordered. (but the 1st set of statements is) Bye, Kero. __

Re: [rspec-users] executing code after each step of a story

2007-12-31 Thread Kero van Gelder
any way to disable the at_exit registered stuff? to be clear, I have Ruby code like require 'spec' Story { Scenario { When {} Then {} } } and run it with `ruby that_code.rb` (whereas `spec that_code.rb` is very silent; a warning would