<    March 2010    >
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:29 pietia joined
00:48 SiaCo joined
00:55 svenfuchs joined
00:58 aslakhellesoy joined
01:01 lchin joined
01:12 ilpoldo joined
01:27 christos_z joined
01:35 paulca joined
01:48 qwerxy joined
02:08 dbii joined
02:18 jeanmartin joined
02:22 robholland joined
02:22 robholland joined
02:26 svenfuchs joined
02:30 danlucraft joined
02:32 josephwilk joined
02:44 aslakhellesoy joined
02:51 alberto_pm joined
02:51 ashley_moran joined
03:04 svenfuchs joined
03:07 qwerxy joined
03:11 SiaCo joined
03:22 joshkalderimis joined
03:32 aslakhellesoy joined
04:03 mattwynne joined
04:09 bru joined
04:30 mfojtik joined
04:31 <mfojtik> hi, it's possible to run 'rake' task inside cucumber step definition ?
04:32 <mfojtik> I used 'system()' for this, with 'test' Rails environment but rake task doesn't see any record in database
04:34 <josephwilk> mfojtik: You can invoke rake tasks via ruby
04:35 <mfojtik> josephwilk: just found it ;-) (http://rake.rubyforge.org/classes/Rake/Task.html)
04:37 bru left
04:39 christos_z joined
04:43 robholland joined
04:43 robholland joined
04:50 jschoolcraft joined
04:50 lmarburger joined
04:59 <mfojtik> ok, now I getting: 'Don't know how to build task 'environment' (RuntimeError)'
05:00 <mfojtik> (after I loaded rake file and execute it by Rake::Task['test'])
05:02 <mfojtik> ok ;-) .invoke -> .execute
05:02 <mfojtik> now it seems like ok ;)
05:09 pdelgallego joined
05:19 paulca joined
05:28 textarcana joined
05:28 textarcana joined
05:29 textarcana joined
05:41 donaldball joined
05:48 bru_ joined
05:58 tils joined
06:13 bru_ left
06:13 <mfojtik> hmm is there way howto reload 'model' after I changed it by rake task ?
06:13 <mfojtik> in step definition
06:14 <mfojtik> http://pastebin.com/akYAQfd0
06:14 <mfojtik> ^^ for example
06:14 hka joined
06:16 phinze joined
06:16 <tils> what about simply calling user.reload ?
06:16 <tils> or user.permissions.reload
06:17 <mfojtik> tils: i tried both with no success
06:18 <tils> mfojtik: you would have to switch off transactions for cucumber as well
06:18 <mfojtik> i tried this as well
06:18 <mfojtik> still same result
06:20 <mfojtik> seems like that rake task opens new connection into database and commit changes
06:20 <hka> Has anyone tried to run Cucumber tests in parallel? We are currently starting to use Cucumber, but foresee that as the number of tests grows, the total execution time may become an issue. Parallel execution would then be of great help. I have seen testjour, but that does not allow parallel execution on a single machine. Any tips, links or descriptions would be much appreciated
06:21 <mfojtik> but cucumber uses old connection. maybe reconnecting database could help
06:21 <robholland> hka: best to check the ml
06:22 <tils> mfojtik: what do you mean by 'old' connection? can you confirm that it connects to the test database, e.g. by watching log/cucumber.log while running the feature?
06:22 <hka> rob: Thank you, will try that.
06:25 <mfojtik> tils: I can't see any record about rake task in logs
06:25 akahn joined
06:27 <tils> I'm having intermittent cucumber / culerity failures since upgrading jQuery from 1.3 to 1.4, it sometimes cannot see some elements within content loaded from ajax. However, it does sometimes find other elements within the same content part loaded through ajax. Can anyone give me a tipp how to debug this?
06:27 <tils> I tried increasing Capybara.default_wait_time = 30 already, doesn't seem to have an effect
06:28 paulca joined
06:28 <tils> mfojtik: not sure which environment rake uses when you call it like that, maybe it's connecting to the wrong one? If the rake task does database updates, those should be visible in the relevant log
06:31 <mfojtik> tils: Environment: test
06:31 <mfojtik> rake is connection to test
06:32 chromano joined
06:42 adamaig joined
06:43 <tils> on every run I'm getting different failures :-(
06:51 lmarburger joined
07:12 FabianB_ joined
07:14 anteaya joined
07:20 <tils> I'm trying to use the latest jar files of htmlunit 2.8 snapshot now, instead of the ones provided in celerity
07:20 akahn left
07:24 jhenderson joined
07:24 <tils> still same problems, some elements are not found
07:26 textarcana joined
07:27 <jarib> tils: htmlunit has the jquery test suite as part of its own test suite
07:27 <jarib> but i'm guessing it's not on 1.4 yet
07:29 <jarib> if i were you, i'd try to reduce the problem and submit it to the htmlunti list/tracker
07:30 <jarib> it'll probably be fixed quickly if it can be reproduced by running jquery's test suite
07:30 <jarib> (or if you can reduce the bug)
07:31 <tils> jarib: yes I think I saw the testsuite for jquery is still on 1.2
07:32 <tils> jarib: I'll try to reproduce it, my problem currently is that the failures are intermittent and on one machine (the CI server), but do not occur locally
07:35 mattwynne joined
07:36 phinze joined
07:49 mabes joined
07:56 pdelgallego joined
08:05 mjw2 joined
08:11 qwerxy joined
08:20 donaldball joined
08:27 linoj joined
08:57 mabes joined
09:00 christos_z joined
09:08 christos_z joined
09:09 christos_z left
09:25 adamaig joined
09:35 paulca joined
09:42 altogether joined
09:45 aslakhellesoy joined
09:47 camonz joined
09:55 dfr|work joined
10:01 paucor joined
10:10 ilpoldo joined
10:37 lucasbz joined
10:56 adamaig joined
10:58 matt2s joined
11:10 dastels joined
11:23 <aslakhellesoy> mabes: hi what's up
11:24 <aslakhellesoy> i just went through all the tickets in the Cucumber TM bundle and commented. (And added a new ticket).
11:25 <mabes> oh, ok.. sorry I am like the worst maintainer of that project. I just don't have much motivation. I merge in commits from people I trust but that is all I have been doing recently
11:27 malkomalko joined
11:27 <aslakhellesoy> mabes: have you tried to see if someone wants to take over stewarship for it?
11:28 <aslakhellesoy> I understand you're not motivated if you don't use it :-)
11:28 <mabes> I posted on the ML a while ago, yes.. a long while ago (when it was the rspec mailing list)
11:28 <malkomalko> is it possible to run features by tag with cuke4duke?
11:28 <mabes> no one really stepped up
11:29 <aslakhellesoy> malkomalko: cuke4duke is no different from cucumber, except for allowing stepdefs in other programming languages.
11:29 <aslakhellesoy> So yes
11:29 <malkomalko> even when running from maven?
11:29 <aslakhellesoy> malkomalko: even when running from maven
11:30 <malkomalko> mvn cuke4duke:cucumber -t @tag ?
11:30 <mabes> aslakhellesoy: I messaged the person who submitted the patch about your new GH issue. Hopefully they can resolve it
11:31 <aslakhellesoy> malkomalko: no, mvn doesn't magically let you specify cucumber command line args.
11:31 <aslakhellesoy> sec
11:33 <aslakhellesoy> malkomalko: have you tried: mvn cuke4duke:cucumber -DcukeArgs="-t @tag"
11:33 <aslakhellesoy> -and then use ${cukeArgs} in your POM?
11:33 <aslakhellesoy> -to pass the arguments on to cucumber?
11:33 <malkomalko> no I have not, let me try that out
11:33 <malkomalko> I will report back to let you know if that worked
11:34 <malkomalko> thank you
11:34 <aslakhellesoy> kk
11:34 <aslakhellesoy> (i haven't tried it either :-)
11:35 <malkomalko> hehe
11:41 <aslakhellesoy> malkomalko: I just got a new mac, so I'm building cuke4duke 4 the 1st time
11:42 <aslakhellesoy> taking for ever to download the jars
11:44 <malkomalko> if this works, I'll add a summary to the wiki
11:46 pietia joined
12:01 josephwilk joined
12:04 alberto_pm joined
12:14 <malkomalko> it worked
12:23 jimmybaker joined
12:26 <aslakhellesoy> malkomalko: great
12:30 <aslakhellesoy> malkomalko: http://wiki.github.com/aslakhellesoy/cuke4duke/maven
12:30 <aslakhellesoy> Can you scroll down to the bottom and verify that that's correct?
12:32 <aslakhellesoy> malkomalko: and if not, please correct it
13:04 adamaig_ joined
13:07 jimmybaker joined
13:13 pdelgallego joined
13:16 benlovell joined
13:25 SiaCo joined
13:31 ilpoldo joined
13:33 adamaig joined
13:38 <malkomalko> yah that's perfect asklak
13:41 textarcana_ joined
13:42 adamaig_ joined
14:02 swistak joined
14:10 swistak joined
14:23 swistak joined
14:32 donaldball_ joined
14:35 mabes joined
14:35 agile joined
14:38 donaldball joined
14:49 jschoolc_ joined
14:52 altogether joined
15:00 Kero joined
15:18 alberto_pm joined
15:26 agenteo joined
15:26 <agenteo> is anybody here using celerity?
15:35 svenfuchs joined
15:49 mjw2 joined
15:54 paulca joined
15:59 textarcana_ joined
16:03 donaldball joined
16:37 <jarib> agenteo: i am :)
16:37 <agenteo> successfully? :)
16:37 <agenteo> I was setting it up cause I want to test one of those 'add a new name' JS links
16:43 <jarib> agenteo: sucessfully yes
16:43 <jarib> i don't do a lot of rails though
16:43 <jarib> what's the problem?
16:44 <agenteo> it's prob related to webrat steps, do you have to get rid of all of them and use celerity's?
16:44 <agenteo> I get a "select_list not found using 'name'"
16:45 <jarib> hmm, i really don't know
16:45 <jarib> i didn't know webrat supported celerity
16:45 <jarib> i know capybara does culerity/celerity
16:48 matthewford joined
16:50 <agenteo> I will have another look :) ta
16:54 beilabs joined
17:18 bdimcheff joined
17:20 adamaig joined
17:38 anlek joined
17:38 <anlek> Hello
17:39 <anlek> Is there a way to set the default host! before anything runs in Cucumber?
17:41 <anlek> I get this odd behaviour: http://gist.github.com/328654
17:42 donaldball joined
17:55 jschoolc_ joined
17:56 mabes joined
17:57 <anlek> Anyone?
18:12 chromano_ joined
18:17 jxson joined
18:27 mabes joined
20:23 chromano joined
20:37 textarcana joined
20:39 hakunin joined
21:03 mabes joined
21:04 jxson joined
21:07 donaldball joined
21:16 bdimcheff joined
22:01 Pistos joined
22:01 <Pistos> Hi, folks. Anyone here use Pivotal Tracker?
22:04 bdimcheff joined
22:33 SiaCo joined
22:37 <anlek> I'm trying Pistos
22:37 <anlek> Anyone awake at this time?
22:47 <Pistos> anlek: Okay. (I'm awake.)
22:47 <Pistos> Just getting started with PT, been using it just over a week, and I like it.
22:47 <Pistos> I'm not an experienced BDD or Agile person by any means, but this PT makes these techniques look attractive.
22:48 <anlek> Pistos, I'm in your boat, I signed up a few weeks ago and today was the first day I started using it.
22:48 <anlek> However, I was told it has something to do with Cucumber, but I have yet to find a link
22:51 <Pistos> anlek: Maybe the PT developers use Cucumber, I dunno.
22:51 <Pistos> But, AFAICT, I think it's just that they both have to do with BDD and/or XP.
22:51 <Pistos> or agile.
22:52 danlucraft joined
22:53 <anlek> Pistos: I guess. I'm still learning what I can do with PT.
23:07 anlek left
23:18 svenfuchs joined