01:37
voodoofish430 joined
02:10
voodoofish4301 joined
03:58
<travis-ci>
[travis-ci] cucumber/cucumber-js#82 (master - f2ad05d : Julien Biezemans): The build was fixed.
03:58
<travis-ci>
[travis-ci] Change view : https://github.com/cucumber/cucumber-js/compare/bb86ada...f2ad05d
03:58
<travis-ci>
[travis-ci] Build details : http://travis-ci.org/cucumber/cucumber-js/builds/749516
04:07
<GitHub106>
[cucumber-js] jbpros pushed 1 new commit to master: http://git.io/0r2ZLA
04:07
<GitHub106>
[cucumber-js/master] Release 0.2.9 - Julien Biezemans
04:10
<travis-ci>
[travis-ci] cucumber/cucumber-js#83 (master - 2b637bc : Julien Biezemans): The build passed.
04:10
<travis-ci>
[travis-ci] Change view : https://github.com/cucumber/cucumber-js/compare/f2ad05d...2b637bc
04:10
<travis-ci>
[travis-ci] Build details : http://travis-ci.org/cucumber/cucumber-js/builds/749568
04:17
<GitHub14>
[cucumber-js] jbpros pushed 1 new commit to tagged-hooks: http://git.io/3fTVIw
04:17
<GitHub14>
[cucumber-js/tagged-hooks] Done - Julien Biezemans
04:17
<GitHub60>
[cucumber-js] jbpros pushed 1 new commit to master: http://git.io/Yeuq7A
04:17
<GitHub60>
[cucumber-js/master] Add tagged hooks example to README - Julien Biezemans
04:20
<travis-ci>
[travis-ci] cucumber/cucumber-js#84 (master - a6b2008 : Julien Biezemans): The build passed.
04:20
<travis-ci>
[travis-ci] Change view : https://github.com/cucumber/cucumber-js/compare/2b637bc...a6b2008
04:20
<travis-ci>
[travis-ci] Build details : http://travis-ci.org/cucumber/cucumber-js/builds/749634
06:28
denysonique__ joined
06:30
TheDeadSerious joined
06:32
mrchrisadams joined
07:20
<darktelecom>
hey guys
07:21
<darktelecom>
I'm with a problem, that I suspect to be basic but I dont seem to find out the root cause. I have one .feature with one Scenario Outline with a basic When, Given, Then clauses
07:22
<darktelecom>
without any Examples section specified..
07:22
<darktelecom>
when I run it.. cucumber prints the Scenario Outline but it doesnt run it
07:22
<darktelecom>
I have the steps defined of course..
07:23
<darktelecom>
My scenario outline is simple:
07:23
<darktelecom>
Scenario Outline: Whenever peeing Given I feel confident When I take it out Then I should be able to pee
07:24
<darktelecom>
The scenario seems only to run whenever I have an examples section.. but I dont want to have one since the "Then" statements should be enough and it does not need to be parameterised
07:27
<darktelecom>
any clues why cucumber does not run/see the scenario?
07:46
<fabrice31>
If you don't have data, the scenario is done 0 time. ( exactly what you said)
07:46
<fabrice31>
You should replace Scenario Outline by Scenario : it always play once.
09:21
<darktelecom>
thanx fabrice.. that was it
11:36
voodoofish430 joined
13:04
<Griff>
hey all, working with Rails 3 in Action and having some problems. Here is the gist: https://gist.github.com/1925883
13:06
<Griff>
The issue is that the output from the the feature when run in the terminal gives me 8 or so steps, not the 12
13:26
<BeepDog>
Griff: maybe don't use the And's to start your scenarios with
13:27
<BeepDog>
but instead be sure to start your scenarios with a When or a Given
13:27
<BeepDog>
And I fill in "Name" with "Textmate 2"
13:27
<BeepDog>
When I fill in "Name" with "Textmate 2"
13:27
<BeepDog>
so that way the next And knows what to do with
13:27
<BeepDog>
I suspect that might be it
13:27
<BeepDog>
I'm not sure though
13:33
<Griff>
Beepdog: hmm thank you for that
13:33
<Griff>
I will give it a whirl
13:35
<BeepDog>
good luck :)
13:38
<Griff>
BeepDog: no luck
13:38
<jbpros>
Griff: the And's shouldn't be a problem. Keep in mind you'll see the background steps only once, even if they are run several times (once per scenario)
13:41
<Griff>
jbpros: yeah but the last regex lookup it hands me is the one about the project on the first scenario
13:42
<Griff>
it at least should produce one for the fail message in the second scenario
15:02
<jbpros>
Griff: could you show the aforementioned output? :)
15:07
<Griff>
jbpros: https://gist.github.com/1925883
15:07
<Griff>
the first section is the output. It isn't pretty
15:07
<jbpros>
wow this is weir indentation
15:08
<jbpros>
s/weir/weird/
15:09
<jbpros>
Griff: what is the problem exactly?
15:18
<Griff>
jpbros: Cucumber is not seperating the two scenarios that I can see
15:19
<Griff>
it is interpreting the "I should see" line from the fist one and comparing it against the second
15:19
<Griff>
Instead of creating another regexp block to compare it with
15:39
<jbpros>
Griff: well the output looks good to me. in the first scenario you're verifying the presence of the string "Project has been created" -- in the second one, you want to string "Project has not been created" to be displayed. In the latter case, the application is apparently not displaying that second string.
15:40
<jbpros>
not sure I understand what you mean by "Instead of creating another regexp block to compare it with"
15:46
<Griff>
So each step in cucumber generates a block that walk through the scenario right?
15:47
<Griff>
well it appears that the blocks don't correspond to the amount of steps in both scenarios? If this were true when you ran rake cucumber:ok in rails it would tell you to add a new block to your step_definitions
15:50
<jbpros>
Griff: for each step Cucumber encounters, it looks within the step definitions you defined for one with a regexp matching the step string.
15:51
<jbpros>
It means that if you have two different steps (in the same or distinct scenarios, it does not matter) with names matching a single step definition regexp, that stepdef will be run.
15:53
<jbpros>
The steps "Given I have a cat" and "Given I have a dog" will both match the same Given /^I have a (cat|dog)$/ step definition, should you have defined it.
15:53
<jbpros>
It will run the same block.
16:25
<Griff>
Hmm Thank you. I will change the verbige of the blocks and see if it kicks in gear
16:25
<Griff>
jbpros: thank you for your time
18:14
WillMarshall joined
20:39
<davividal>
hi all. I'm going to Django and I want to use Cucumber there. Is that possible? Do you know any alternative?