IRC log of #zope for Thursday, 2010-04-01

*** r0ver has left #zope00:05
*** cbcunc has quit IRC00:15
*** benji has quit IRC00:20
*** __gotcha has quit IRC00:25
*** Kabz|4D has quit IRC00:31
*** Kabz|4D has joined #zope00:35
*** Kabz|4D has quit IRC00:41
*** jim_SFU has quit IRC00:43
*** fred|sport is now known as fredvd00:47
*** Hypergraphe has quit IRC01:01
*** alecm has quit IRC01:03
*** alecm has joined #zope01:03
*** allisterb has quit IRC01:03
*** regebro has quit IRC01:06
*** kevinkalupson has joined #zope01:11
*** drudi has quit IRC01:14
*** allisterb has joined #zope01:18
*** webmaven has quit IRC01:42
*** kevinkalupson has quit IRC01:51
*** drudi has joined #zope01:57
*** ccomb has quit IRC02:13
*** ccomb has joined #zope02:14
*** tarek has quit IRC02:14
*** TresEquis has quit IRC02:33
*** daMaestro has quit IRC02:33
*** evilbungle has joined #zope02:36
*** daMaestro has joined #zope02:45
*** MatthewWilkes has joined #zope02:56
*** MrTango has quit IRC02:57
*** runyaga_ has quit IRC03:00
*** mgedmin has quit IRC03:08
*** pthulin has quit IRC03:09
*** drudi has quit IRC03:11
*** sashav has quit IRC03:11
*** opsec has quit IRC03:12
*** davisagli has left #zope03:25
*** kevinkalupson has joined #zope03:25
*** opsec has joined #zope03:26
*** kevinkalupson is now known as kevinkal03:27
*** MrWu has joined #zope03:27
*** kevinkal is now known as kevinkalupson03:28
*** kevinkalupson is now known as kevinkal03:28
*** MrWu has quit IRC03:40
*** redir has quit IRC03:44
*** aaronv has quit IRC03:54
*** alvaro has quit IRC04:03
*** tiwula has quit IRC04:14
*** azazel has joined #zope04:15
azazelanyone knows how to set the value of an OrderedMultiselectWidget using testbrowser? is it possible?04:16
*** TresEquis has joined #zope04:28
*** benji has joined #zope04:31
azazelTresEquis: mabye you are there:) do you know how to set the value of an OrderedMultiselectWidget using testbrowser? is it possible?04:35
TresEquisazazel: I don't remember what an OMSW is at the moment :)04:38
TresEquiswhat form elements does it render to?04:39
TresEquisthis is the one in
azazelTresEquis: it's a widget in zope/app/form/browser/, it renders a multi select using two multiselect, one for the available values and one for the selected04:40
*** dunny has joined #zope04:41
azazelTresEquis: but it seems to do all the work using js... i was wondering how people test forms containing it.. or maybe no one tests it?04:41
TresEquisJS doesn't test well without a real browser04:42
TresEquisSelenium might help04:43
azazeleh, the weird thing is that it uses js even to do the initial load the two selects...04:45
azazels/load the two/load of the two/04:45
azazelit's simpler to change the widget:)04:46
TresEquisthe values it actually reads on submit are appended into the toDataContainer span:  a bunch of <input type="hidden"/> fields04:46
azazelthere is chance to alter the dom using testbrowser?04:47
*** ders has joined #zope04:47
azazelTresEquis: what are you suggesting?04:48
azazelmmm... i can do a post04:49
TresEquisI dunno:  maybe zope.testbrowser needs to add an API for creating such hidden fields to simulate what the JS would do04:49
benjiazazel: this might help you:
azazelbenji: yes! very handy i found it too! Thanks04:52
* azazel wonders if testbrowser can be extended to to use one of the various js libs to "render" the pages like spidermonkey or safari's one 04:53
benjiit would take quite a bit of work04:54
azazelreally? maybe i understimate the complexity behind the scene... i never looked at the code of testbrowser04:56
azazelalso it depends if the js interp can share the dom with python04:57
azazeli think pyv8 has it04:58
benjiright, it's not testbrowser that's complicated, it's the other part04:58
benjianother issue is that even if testbrowser emulated a browser perfectly, you'd still need a way to test other browsers04:59
azazelbenji: one step at a time:) being able to emulate _one_ real browser is better than nothing at all ;-)05:01
*** shenlong has quit IRC05:09
azazelprobably i'm wrong about pyv8 :-|05:12
azazelbenji: but qt4.6 seems to give access to the dom via qwebelement & qwebframe that can be run in "blind" mode using qttest
*** sidnei has quit IRC05:25
*** davisagli has joined #zope05:32
*** runyaga has joined #zope05:35
*** MatthewWilkes has quit IRC05:42
*** huajie has joined #zope05:53
*** daMaestro has quit IRC05:55
*** davisagli has quit IRC05:58
*** alecm has quit IRC06:02
*** baijum has joined #zope06:24
*** owll has joined #zope06:40
*** owll has left #zope06:41
*** benji has quit IRC06:44
*** davisagli has joined #zope06:47
*** ders has quit IRC06:48
*** baijum has quit IRC06:50
*** ders has joined #zope06:52
*** davisagli has left #zope06:54
*** daMaestro has joined #zope07:06
*** ders has quit IRC07:07
*** ders has joined #zope07:08
*** ders has quit IRC07:12
*** ders has joined #zope07:13
*** ders has quit IRC07:16
*** ders has joined #zope07:16
*** runyaga is now known as run|away07:20
*** ders has quit IRC07:32
*** azazel has quit IRC07:36
*** baijum has joined #zope07:40
*** ders has joined #zope07:40
*** baijum has quit IRC07:45
*** ders_ has joined #zope07:47
*** ders has quit IRC07:47
*** ders_ is now known as ders07:47
*** ders has quit IRC08:01
*** daMaestro has quit IRC08:06
*** ders has joined #zope08:10
*** alecm has joined #zope08:15
*** ders has quit IRC08:21
*** digitalmortician has joined #zope08:21
*** ders has joined #zope08:23
*** baijum has joined #zope08:26
*** sidnei has joined #zope08:33
*** davisagli has joined #zope08:54
*** JaRoel|4D has quit IRC08:58
*** davisagli has quit IRC08:59
*** ders has quit IRC09:01
*** davisagli has joined #zope09:01
*** run|away has quit IRC09:08
*** kevinkal has quit IRC09:10
*** davisagli has quit IRC09:26
*** huajie has quit IRC09:29
*** alecm has quit IRC09:45
*** pingviin3 has quit IRC09:51
*** __gotcha has joined #zope10:02
*** prinzdezibel has joined #zope10:03
*** pthulin has joined #zope10:08
*** evilbungle has joined #zope10:16
*** regebro has joined #zope10:21
*** supton has quit IRC10:22
*** planetzopebot has quit IRC10:33
*** planetzopebot has joined #zope10:34
*** ccomb has quit IRC10:37
*** smita has quit IRC10:41
*** evilbungle has quit IRC10:41
*** tarek has joined #zope10:41
*** hever has joined #zope10:41
*** pthulin has quit IRC10:52
*** pthulin has joined #zope10:52
*** sashav has joined #zope10:53
*** JaRoel|4D has joined #zope11:00
*** Kabz|4D has joined #zope11:05
*** ccomb has joined #zope11:14
*** MrWu has joined #zope11:21
*** neo|4D has joined #zope11:22
*** mr_jolly has joined #zope11:35
*** regebro has quit IRC11:36
*** agroszer has joined #zope11:40
*** ramonski has joined #zope11:46
*** TomBlockley has joined #zope11:56
*** MrWu has quit IRC12:01
*** hartym has joined #zope12:04
*** fredvd has quit IRC12:04
*** ccomb has quit IRC12:04
*** ccomb1 has joined #zope12:04
*** evilbungle has joined #zope12:08
*** fredvd has joined #zope12:10
*** digitalmortician has quit IRC12:10
*** thetet has joined #zope12:25
*** touff has joined #zope12:25
*** agroszer has quit IRC12:27
*** digitalmortician has joined #zope12:27
*** teix has joined #zope12:37
*** thetet has quit IRC12:45
*** thetet has joined #zope12:51
*** evilbungle has quit IRC12:53
*** evilbungle has joined #zope12:53
*** touff has quit IRC13:17
*** JaRoel|4D has quit IRC13:19
*** mgedmin has joined #zope13:21
*** touff has joined #zope13:22
*** agroszer has joined #zope13:24
*** menesis has quit IRC14:00
*** dayne has joined #zope14:25
*** aaronv has joined #zope14:29
*** dayne has quit IRC14:30
*** sidnei has quit IRC14:36
*** rodgort has quit IRC14:40
*** sidnei has joined #zope14:55
*** dunny has quit IRC14:57
*** menesis has joined #zope14:59
*** fredvd is now known as fredvd|lunch15:08
*** dunny has joined #zope15:10
*** __gotcha has quit IRC15:14
*** benji has joined #zope15:25
*** regebro has joined #zope15:25
*** hever has quit IRC15:30
*** touff has quit IRC15:43
*** hever has joined #zope15:44
*** huajie has joined #zope15:55
*** sidnei has quit IRC16:02
*** baijum has quit IRC16:02
*** baijum has joined #zope16:03
*** jim_SFU has joined #zope16:03
*** sidnei has joined #zope16:07
*** touff has joined #zope16:23
*** JaRoel|4D has joined #zope16:27
*** sidnei has quit IRC16:31
*** smita has joined #zope16:43
*** sashav has quit IRC16:51
*** baijum has quit IRC16:57
*** fredvd|lunch is now known as fredvd16:58
*** sidnei has joined #zope17:02
*** danfairs has joined #zope17:08
*** baijum has joined #zope17:11
*** agroszer has quit IRC17:15
*** pthulin has quit IRC17:31
*** thetet has quit IRC17:44
*** sim_ has joined #zope17:50
sim_hi all17:50
sim_I'm currently working on a project that is not a zope one, but uses some of its components, especially for testing (layers etc.). I was wondering, is there a point and a way to use other coverage tools than the one provided by zope.testing ?17:52
*** pyqwer has joined #zope17:55
*** daMaestro has joined #zope17:57
TresEquissim_: you might try installing nose and coverage eggs, and then running 'nosetests'18:06
TresEquisI'm of the belief that any "reusable" package ought to be testable using ' test' (and therefore ' nosetests')18:06
TresEquisbut I'm in the minority, and don't have enough conviction to make it work for all the ZTK packages myself18:07
*** phimic has quit IRC18:07
sim_TresEquis, 'cause i was wondering. As the code relies heavily on zcma layer etc. will other test framework know how to handle these/produce relevant report.18:08
sim_TresEquis, maybe I will give it a try for nosetests, what about py.test ? and other (because i'm mainly interested in coverage) coverage tools, like ? Any opinion on those matters ?18:09
sim_TresEquis, Thanks for answering btw :)18:09
TresEquissim_: I think you are out of luck for tests requiring layers18:11
TresEquisthe other runners don't support that idea, at least not in the same way18:11
TresEquisI proposed modifying the zope.testing.testrunner to emit XML files for results / coverage compatible with the JUnit / Cobertura ones18:12
TresEquisso that Hudson could consume them18:12
TresEquisbut don't have any code for it yet18:12
sim_TresEquis, lol :] that part of what i was thinking of ! Hudson stuff etc.18:13
sim_TresEquis, but my other point is that the coverage tool used inside zope.testing is not accessible for option etc. (i have to patch zope.testing)18:13
*** alvaro has joined #zope18:14
TresEquis"accessible for optoin"?18:14
TresEquiswhat does that mean?18:15
sim_TresEquis, zope.testing is using inside to do the coverage, whose constructor can take options. But these can not be specified from the buildout part18:16
TresEquisCan you upload your patch to launchpad:
*** zagy has quit IRC18:18
TresEquisI might be able to get it landed / released18:18
*** baijum has quit IRC18:19
TresEquisactually, this would be better:
TresEquisor the equivalent bug tracker18:20
*** grahal has joined #zope18:23
sim_TresEquis, I did not write the test for the moment, only considering it... Maybe i will eventually do something, i do not know at the moment. I will get back to you if you are interested18:24
*** hartym has quit IRC18:24
sim_Do you think about special details on the subject if ever I bring a new patch ?18:24
TresEquissim_: I don't have anything particular in mind18:26
TresEquisif you know what needs to be done, then go for it ;)18:27
TresEquisI did have in mind what to do about the XML output for Hudson, though18:27
sim_all rightt18:27
sim_TresEquis, oh, im interested as im just stepping in. I do not even find what's the specification for the xml output18:28
sim_s/do not/did not yet18:28
TresEquisthere isn't any very good specification18:29
TresEquisbasically, I'm going to stare at how the nose and coverage packages do it18:29
sim_hm ok18:30
mgedminsim_, fwiw bin/coverage bin/test .... works fine18:45
mgedminwith ned batchelder's and zope.testing.testrunner18:45
mgedminned's coverage is faster than bin/test --coverage18:46
*** hever has quit IRC18:46
*** fredvd is now known as fredvd|dinner18:46
mgedminjml recently worked on subunit-compatible output for zope.testing.testrunner18:47
sim_mgedmin, can you redirect the bin/test output on bin/coverage or something like that ?18:47
mgedminsubunit can then convert it to cobertura XML18:47
mgedminsim_ I'm not sure what you're asking18:47
mgedminI must run now18:47
sim_all right thanks, i was thinkg of having a look to subunit, heard of it18:47
*** mgedmin has quit IRC18:47
*** ders has joined #zope18:48
*** shen-long has joined #zope18:52
*** sidnei has quit IRC18:56
*** hever has joined #zope18:58
*** sidnei has joined #zope18:59
*** huajie has quit IRC18:59
*** alecm has joined #zope19:00
*** ccomb1 has quit IRC19:10
*** agroszer has joined #zope19:10
*** ders has quit IRC19:12
*** digitalmortician has quit IRC19:13
*** opsec has quit IRC19:15
*** ccomb has joined #zope19:16
*** tiwula has joined #zope19:23
*** opsec has joined #zope19:30
*** danfairs has quit IRC19:35
*** ramonski has left #zope19:36
*** Arfrever has quit IRC19:43
*** pyqwer has quit IRC19:49
*** hever has quit IRC19:51
*** hever has joined #zope19:51
*** davisagli has joined #zope19:52
*** regebro has quit IRC19:54
*** jwhisnant has joined #zope19:55
*** sidnei has quit IRC19:55
*** neo|4D has quit IRC19:57
*** hever has quit IRC19:57
*** Kabz|4D has quit IRC20:01
*** mcdonc has quit IRC20:22
*** mcdonc has joined #zope20:25
*** mcdonc has quit IRC20:25
*** mcdonc has joined #zope20:26
*** sidnei has joined #zope20:27
*** ccomb has quit IRC20:28
*** bigkevmcd has quit IRC20:31
*** menesis has quit IRC20:39
*** TomBlockley has quit IRC20:39
*** evilbungle has quit IRC20:40
*** RaFromBRC has joined #zope20:47
*** aaronv has quit IRC20:59
*** digitalmortician has joined #zope21:05
*** evilbungle has joined #zope21:07
*** Hypergraphe has joined #zope21:07
*** evilbungle has quit IRC21:08
*** RaFromBRC is now known as RaFromBRC|away21:19
*** benji has quit IRC21:26
*** jwhisnant_ has joined #zope21:27
*** jwhisnant has quit IRC21:27
*** jwhisnant_ has quit IRC21:28
*** alecm has quit IRC21:29
*** alecm has joined #zope21:30
*** agroszer has quit IRC21:34
*** RaFromBRC|away is now known as RaFromBRC21:42
*** benji has joined #zope21:49
*** zenwryly has quit IRC22:00
*** menesis has joined #zope22:04
*** teix has quit IRC22:05
*** zagy has joined #zope22:05
*** menesis has quit IRC22:09
*** daMaestro has quit IRC22:11
*** aaronv has joined #zope22:11
*** menesis has joined #zope22:13
*** JaRoel|4D is now known as JaRoel|AFK22:14
*** zenwryly has joined #zope22:17
*** Arfrever has joined #zope22:19
*** daMaestro has joined #zope22:24
*** alvaro is now known as Guest9750222:27
*** agroszer has joined #zope22:31
*** agroszer has quit IRC22:40
*** prinzdezibel has quit IRC22:41
*** touff has quit IRC22:47
*** rodgort has joined #zope22:47
*** RaFromBRC has quit IRC22:50
*** RaFromBRC has joined #zope22:50
*** TresEquis has quit IRC22:55
*** povbot has joined #zope23:06
*** povbot has joined #zope23:12
*** shastry has joined #zope23:18
*** zagy has quit IRC23:19
*** ders has joined #zope23:38
*** ders has quit IRC23:41
*** ders has joined #zope23:42
*** ders has quit IRC23:50
*** jim_SFU has quit IRC23:51
*** fredvd|dinner is now known as fredvd23:55

Generated by 2.15.1 by Marius Gedminas - find it at!