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.yml.
Type 'cucumber --help' for usage.
$ touch cucumber.yml
$ cucumber # bug! should not crash on broken config file
/var/lib/gems/1.8/gems/cucumber-0.1.12/bin/../lib/cucumber/cli.rb:146:in
`parse_args_from_profile': undefined method `[]' for false:FalseClass
(NoMethodError)
from
/var/lib/gems/1.8/gems/cucumber-0.1.12/bin/../lib/cucumber/cli.rb:47:in
`parse_options!'
from
/var/lib/gems/1.8/gems/cucumber-0.1.12/bin/../lib/cucumber/cli.rb:20:in
`parse'
from
/var/lib/gems/1.8/gems/cucumber-0.1.12/bin/../lib/cucumber/cli.rb:11:in
`execute'
from /var/lib/gems/1.8/gems/cucumber-0.1.12/bin/cucumber:6
from /var/lib/gems/1.8/bin/cucumber:19:in `load'
from /var/lib/gems/1.8/bin/cucumber:19
$ echo default: > cucumber.yml
$ cucumber # bug! default profile defined but irretrievable
Could not find profile: 'default'
Defined profiles in cucumber.yml:
* default
$ echo default: . > cucumber.yml
$ vim enlightenment.feature
$ cucumber -v # bug! no reason not to use the default profile
Ruby files required:
Features:
$ cucumber -v -i -p default
Ruby files required:
Features:
* ./enlightenment.feature
Story: enlightenment # ./enlightenment.feature
As a Developer
I want to achieve enlightenment
So that I can be at peace with my code
Scenario: meditation # ./enlightenment.feature:6
When I meditate indefinitely # ./enlightenment.feature:7
Then I achieve enlightenment # ./enlightenment.feature:8
2 steps pending
$
__
How can I change the world if I can't even change myself?
-- Faithless, Salva Mea
on 2008-12-06 01:04
on 2008-12-06 01:15
Kero van Gelder wrote: > 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 > ? > Umm... add them separately. I can take at least a couple of them... -Ben
on 2008-12-06 04:42
Kero van Gelder wrote: > $ cd fresh > from /var/lib/gems/1.8/bin/cucumber:19:in `load' > Ruby files required: > As a Developer > > __ > 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 > Hey Kero, 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.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 -Ben
on 2008-12-06 12:14
> 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.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 can I change the world if I can't even change myself? -- Faithless, Salva Mea
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.