<  February 2012   >
Su Mo Tu We Th Fr Sa
          1  2  3  4
 5  6  7  8  9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29
00:48 dfr|mac joined
00:50 mabes joined
01:10 tonini joined
01:37 voodoofish430 joined
02:10 voodoofish4301 joined
02:49 ph^ joined
02:51 dustacio joined
03:02 ph^_ joined
03:04 dalybr joined
03:45 fabrice31 joined
03:50 universa1 joined
03:52 ctrabold joined
03:54 universa1 joined
03:55 universa1 joined
03:58 travis-ci 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
03:58 travis-ci left
03:59 universa1 joined
03:59 ph^_ joined
04:07 GitHub106 joined
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:07 GitHub106 left
04:10 travis-ci joined
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:10 travis-ci left
04:17 GitHub14 joined
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 GitHub14 left
04:17 GitHub60 joined
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:17 GitHub60 left
04:20 travis-ci joined
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
04:20 travis-ci left
04:26 fronlius joined
05:03 kohai_uk joined
05:28 rb2k joined
05:41 josephwi_ joined
05:42 wild_oscar joined
05:55 josephwilk joined
06:16 alansaul joined
06:21 sam452 joined
06:28 denysonique__ joined
06:30 TheDeadSerious joined
06:32 mrchrisadams joined
06:36 d2s joined
06:57 kohai_uk joined
06:59 cheezy joined
07:19 bitcoder 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:26 rolfb joined
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.
08:36 Tinariwen joined
09:21 <darktelecom> thanx fabrice.. that was it
09:42 EvanR joined
09:49 oilpastels_ joined
09:55 esparkman joined
09:55 esparkman joined
09:55 esparkman joined
09:58 dfr|mac joined
10:08 universa1 joined
10:08 axl_ joined
10:25 mabes joined
10:31 urbanmonk joined
10:43 kohai_uk joined
10:52 EvanR joined
11:09 oilpastels_ joined
11:18 yasho99 joined
11:28 kohai_uk joined
11:36 voodoofish430 joined
11:53 kohai_uk joined
12:07 kohai_uk joined
12:54 urbanmonk joined
12:59 Griff joined
12:59 kohai_uk joined
13:02 cheezy 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:05 fronlius joined
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:10 wild_oscar left
13:17 ph^ joined
13:17 fronlius joined
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
14:02 ivanoats joined
14:23 cheezy joined
15:02 <jbpros> Griff: could you show the aforementioned output? :)
15:04 Heimidal joined
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:07 <jbpros> indeed
15:07 <Griff> Tmux
15:08 <jbpros> s/weir/weird/
15:08 <jbpros> alright
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:34 enroxorz left
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:14 ctrabold joined
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
16:39 cheezy joined
16:58 universa1 joined
17:43 fronlius joined
18:14 WillMarshall joined
19:02 nfisher joined
19:04 oilpastels_ joined
19:17 cheezy joined
20:15 beilabs joined
20:22 EvanR joined
20:38 davividal 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?
20:58 Heimidal_ joined
22:51 mabes joined
23:19 Heimidal joined
23:57 ctrabold joined