<     May 2009     >
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 30
31
00:11 mabes joined
00:15 lukemelia joined
00:19 imajes joined
00:27 randy_h joined
00:38 josephwilk joined
00:41 takaaki joined
01:03 takaaki left
01:05 seangrove joined
01:12 mabes joined
01:12 AtariHomestar joined
01:39 bcardarella joined
01:52 CodeOfficer joined
02:07 _moxie joined
02:44 melvinram joined
02:51 bcardarella joined
02:57 swombat joined
03:02 ior3k joined
03:11 tomtt joined
03:21 melvinram joined
03:23 melvinram joined
03:25 bcardarella joined
03:37 ByENNEN joined
03:48 alberto_pm joined
03:57 bcardarella joined
04:18 bcardarella joined
04:24 tomtt joined
04:48 dhofstet joined
04:55 ior3k joined
04:58 bcardarella joined
05:03 spacebug joined
05:03 raldred_away joined
05:06 tooky_ joined
05:27 fidothe joined
05:30 spacebug joined
05:46 bcardarella joined
06:10 ZacLondon joined
06:15 melvinram joined
06:31 d2dchat_ joined
06:36 nevans joined
06:36 cheezy joined
06:37 benlovell joined
06:39 bcardarella joined
06:56 jschoolc joined
06:57 jeanmartin joined
06:57 lobolars joined
07:02 jarib_ joined
07:09 bcardarella joined
07:45 bcardarella joined
07:45 ior3k1 joined
08:04 bcardarella joined
08:15 timgremore joined
08:16 ekidd joined
08:21 mobhawk joined
08:23 fidothe joined
08:30 qrush joined
08:54 petercoulton joined
08:55 dhofstet joined
09:02 Lenary joined
09:13 jaresty joined
09:14 lukemelia_ joined
09:19 nevans joined
09:24 snusnu joined
09:25 nevans1 joined
09:25 petercoulton joined
09:27 lukemelia__ joined
09:36 spacebug joined
09:41 <trejs> can you make webrat handle cookies somehow? (we have a locale cookie that is not set when webrat makes the request)
09:55 dstar joined
09:58 jroes joined
09:58 dpryan joined
10:06 technicalpickles joined
10:14 ekidd joined
10:41 mabes joined
10:55 tobyjoe joined
11:00 ekidd joined
11:04 chriswarren joined
11:20 kschrader joined
11:55 benlovell joined
12:05 bcardarella joined
12:09 lobolars left
12:16 swombat joined
12:25 agile joined
12:25 bcardarella_ joined
12:25 mikepence joined
12:26 <mikepence> hey wassup
12:26 <mikepence> so I am at That Moment
12:26 <mikepence> the moment when I finally learn to use Cucumber
12:26 <mikepence> any recommended first steps?
12:26 <mikepence> and can I still use Shoulda?
12:29 <mikepence> why yes, self, you can probably still use Shoulda
12:29 <mikepence> also, you should not count on IRC for help. IRC is so pre-Twitter
12:29 <mikepence> :)
12:36 Lenary joined
12:39 agile joined
12:54 atmos joined
12:58 benlovell joined
13:00 randy_h joined
13:06 <mabes> mikepence: yes, shoulda is fine the wiki is a good place to start. I'd also recommend the railscasts for getting the basic mechanics of cucumber. for more of a process and philosophy starting point I'd recommend the MWRC presentation
13:07 <mikepence> excellent
13:07 <mikepence> thx
13:13 josephwilk joined
13:14 tomtt_ joined
13:19 <tomoj> how would you test sorting/pagination/etc in cucumber?
13:19 <tomoj> well I guess I can see how to do pagination
13:20 <tomoj> but the view matchers we've got don't seem to support checking for stuff in a specific order
13:21 <randy_h> Tomoj: I would probably spec the sort order on the controller in Rspec instead of in Cuke.
13:21 imajes joined
13:22 <randy_h> Or you could write a step that just looked into the response and expect unique-stringA.*unique-stringB.*unique-stringC.*, where these unique strings were a displayed part of the records you added in the Givens.
13:22 josephwilk joined
13:22 <randy_h> IOW, a simple regex could prove the desired ordering.
13:22 <tomoj> oh, yeah
13:22 <tomoj> or I think nth-child could work too
13:23 <randy_h> good point.
13:27 <tomoj> regex would probably be simpler
13:28 <randy_h> Yeah. Seems to me, whatever gets you to the next Green faster. Cuz it's now about how good your cuke code is, it's about how well your software is delivering value to your customer.
13:28 <randy_h> *not about how good...
13:39 melvinram joined
13:46 benlovell joined
13:51 josephwilk joined
13:52 chriswarren joined
13:52 mikepence joined
13:52 tomtt joined
13:54 mikepence joined
14:00 bcardarella joined
14:03 chriswarren left
14:12 technicalpickles joined
14:14 dfr|work joined
14:17 markj9 joined
14:27 bcardarella joined
14:30 markj9 joined
14:32 maxyz_ joined
14:45 benlovell joined
14:52 newellista joined
14:55 mikepence joined
14:57 maxyz_ joined
15:12 Adkron joined
15:19 kschrader joined
15:25 bcardarella joined
15:32 Lenary joined
15:34 markj9 joined
15:48 benlovell joined
15:52 mikepence joined
15:54 petelacey joined
15:57 <petelacey> Hate to interrupt, but I can't find this answer anywhere. How do you pend an entire scenario? Or at least just comment it out. Scenario mind you, not step.
15:57 jgdavey joined
15:59 <Lenary> you could tag it then tell it to do all but that tagged one
15:59 <Lenary> i think
15:59 <Lenary> don't hold me to that though
16:00 <* petelacey> is looking up tags
16:03 <petelacey> Thanks, Lenary, that looks like it'd work. Seems that there should be a more, erm, natural way to do it, though.
16:03 <Lenary> just tag lots of things @pending
16:03 <Lenary> then exclude that
16:03 <Lenary> self-documenting
16:04 <petelacey> yep
16:04 mikepence joined
16:15 apow joined
16:17 piglop joined
16:17 <piglop> hello
16:19 <atmos> yo
16:19 <atmos> anyone know how to test autocompleters in safariwatir ?
16:20 <* atmos> has the cucumber part down, just unsure of how to do keydown events
16:22 technicalpickles joined
16:30 spacebug joined
16:45 technicalpickles joined
16:47 ekidd joined
16:56 tomtt joined
16:58 mikepence joined
17:01 <petelacey> BTW, Lenary, the tag tricked worked like a champ. Thanks again.
17:01 <Lenary> yvw
17:08 technicalpickles joined
17:09 jgdavey left
17:16 melvinram joined
17:17 qrush joined
17:20 petelacey left
17:31 qrush_ joined
17:36 mikepence joined
17:49 imajes joined
17:49 mikepence joined
18:16 Hendu joined
18:31 mabes joined
18:37 linoj joined
19:02 agile joined
19:06 mikepence joined
19:13 Adkron_ joined
19:16 qrush joined
19:31 tobyjoe joined
19:36 mikepence joined
19:50 mabes joined
19:51 mabes_ joined
19:59 AtariHomestar joined
20:02 AtariHomestar joined
20:08 snusnu joined
20:10 nevans joined
20:11 melvinram joined
20:17 ekidd joined
20:36 jamescarr joined
20:36 <jamescarr> how can I do something before running all/any cucumber features?
20:37 <jamescarr> for example, I am using couchdb with my application
20:37 <jamescarr> I would like to clear couchdb before an tests run
20:41 <tomoj> jamescarr: if you want to do something once before all tests run, you can just put it in your env.rb
20:41 <tomoj> before each each scenario, you can pass a block to Before in env.rb
20:47 <jamescarr> thanks... i thought it was in env.rb
20:50 <jamescarr> hmmm
20:51 <jamescarr> maybe it's better to just mock out the source of data for the model?
20:54 qrush_ joined
20:56 <tomoj> usually you use cucumber to test everything
20:56 <tomoj> including interaction with the database
20:58 Adkron joined
21:01 melvinram joined
21:02 qrush_ joined
21:11 qrush__ joined
21:34 mikepence joined
21:44 mikepence joined
21:47 technicalpickles joined
21:52 Adkron joined
21:59 technica_ joined
22:12 qrush_ joined
22:36 AtariHomestar joined
22:52 jaresty joined
23:16 ekidd joined
23:49 seangrove joined