*** Kabz|4D has joined #zope | 00:06 | |
*** andreypopp has joined #zope | 00:09 | |
*** andreypopp has left #zope | 00:09 | |
*** Kabz|4D has quit IRC | 00:12 | |
*** ccomb has quit IRC | 00:14 | |
*** hax404 has quit IRC | 00:20 | |
*** tarek has joined #zope | 00:20 | |
*** _bluetouff has quit IRC | 00:23 | |
*** Hypergraphe has joined #zope | 00:24 | |
*** _bluetouff has joined #zope | 00:26 | |
*** _bluetouff has quit IRC | 00:41 | |
*** _bluetouff has joined #zope | 00:42 | |
*** aaronv has quit IRC | 00:49 | |
*** davisagli is now known as davisagli|away | 01:05 | |
*** davisagli|away is now known as davisagli | 01:06 | |
*** ccomb has joined #zope | 01:09 | |
*** Hypergraphe has quit IRC | 01:10 | |
*** davisagli is now known as davisagli|away | 01:14 | |
*** MatthewWilkes has joined #zope | 01:15 | |
*** davisagli|away is now known as davisagli | 01:19 | |
*** nebo has joined #zope | 01:20 | |
*** tarek has quit IRC | 01:23 | |
*** nebo has quit IRC | 01:24 | |
*** igbun has joined #zope | 01:30 | |
*** davisagli is now known as davisagli|away | 01:33 | |
*** ccomb has quit IRC | 02:15 | |
*** igbun has quit IRC | 02:24 | |
*** shastry has joined #zope | 02:24 | |
*** allisterb has quit IRC | 02:27 | |
*** mr_jolly has left #zope | 02:36 | |
*** allisterb has joined #zope | 02:41 | |
*** dunny has joined #zope | 03:02 | |
*** shastry has quit IRC | 03:12 | |
*** regebro has quit IRC | 03:46 | |
*** regebro has joined #zope | 04:24 | |
*** giampaolo has quit IRC | 04:27 | |
*** mcdonc has quit IRC | 05:04 | |
*** mcdonc has joined #zope | 05:05 | |
*** davisagli|away is now known as davisagli | 05:11 | |
*** huajie has joined #zope | 05:38 | |
*** baijum has joined #zope | 06:24 | |
*** baijum has quit IRC | 06:37 | |
*** shinygiftson has joined #zope | 06:46 | |
*** _bluetouff has quit IRC | 06:55 | |
*** skt_ has joined #zope | 07:14 | |
*** touff has joined #zope | 07:16 | |
*** MatthewWilkes has quit IRC | 07:19 | |
*** redir has quit IRC | 07:20 | |
*** baijum has joined #zope | 07:25 | |
*** davisagli is now known as davisagli|away | 07:35 | |
*** huajie has quit IRC | 07:44 | |
*** davisagli|away is now known as davisagli | 07:48 | |
*** touff has quit IRC | 07:58 | |
*** huajie has joined #zope | 08:03 | |
*** digitalmortician has quit IRC | 08:08 | |
*** davisagli is now known as davisagli|away | 08:09 | |
*** zagy has joined #zope | 08:33 | |
*** davisagli|away is now known as davisagli | 08:36 | |
*** timte has joined #zope | 08:37 | |
*** davisagli has left #zope | 08:57 | |
*** digilord has quit IRC | 08:57 | |
*** shen-long has quit IRC | 08:57 | |
*** digitalmortician has joined #zope | 09:03 | |
*** bobo_b has joined #zope | 09:06 | |
*** shen-long has joined #zope | 09:07 | |
*** digilord has joined #zope | 09:08 | |
*** redir has joined #zope | 09:09 | |
*** hartym has joined #zope | 09:11 | |
*** Wu has quit IRC | 09:22 | |
*** regebro has quit IRC | 09:31 | |
*** goschtl has joined #zope | 09:33 | |
*** JaRoel|4_ has quit IRC | 09:34 | |
*** tisto has joined #zope | 09:36 | |
*** sashav has joined #zope | 09:46 | |
*** kosh has quit IRC | 09:48 | |
*** wosc has joined #zope | 09:53 | |
*** kosh has joined #zope | 09:53 | |
*** Kabz|4D has joined #zope | 09:58 | |
*** mr_jolly has joined #zope | 10:01 | |
CIA-46 | adamg 3.4 * r112219 zope.release/CHANGES.txt: keep up with changes after the latest updates | 10:03 |
---|---|---|
*** sim_sim has joined #zope | 10:05 | |
*** redir has quit IRC | 10:15 | |
betabug | kosh: now I am :-) | 10:16 |
kosh | hehe | 10:16 |
kosh | well I solved my problem long since | 10:16 |
betabug | ah, ok :-) | 10:16 |
*** regebro has joined #zope | 10:17 | |
*** JaRoel|4D has joined #zope | 10:23 | |
*** huajie has quit IRC | 10:24 | |
*** phimic has joined #zope | 10:30 | |
*** planetzopebot has quit IRC | 10:33 | |
*** planetzopebot has joined #zope | 10:34 | |
*** ccomb has joined #zope | 10:54 | |
*** MJ has joined #zope | 10:59 | |
*** Wu has joined #zope | 11:04 | |
*** JaRoel|4D has quit IRC | 11:09 | |
*** JaRoel|4D has joined #zope | 11:10 | |
*** redir has joined #zope | 11:31 | |
*** phimic has quit IRC | 11:32 | |
*** huajie has joined #zope | 11:33 | |
*** TomBlockley has joined #zope | 11:39 | |
*** eperez has joined #zope | 11:39 | |
*** tarek has joined #zope | 11:43 | |
*** sunew has joined #zope | 11:59 | |
*** TomBlockley has quit IRC | 12:07 | |
*** bobo_b has quit IRC | 12:22 | |
*** redir has quit IRC | 12:26 | |
*** teix has joined #zope | 12:29 | |
*** fredvd has joined #zope | 12:36 | |
*** neo|4D has joined #zope | 12:36 | |
*** phimic has joined #zope | 13:06 | |
*** otacon has joined #zope | 13:10 | |
*** tarek has quit IRC | 13:12 | |
*** tarek has joined #zope | 13:13 | |
*** menesis has quit IRC | 13:36 | |
*** fredvd is now known as fredvd|lunch | 13:43 | |
*** emrojo has joined #zope | 14:02 | |
*** skt_ has quit IRC | 14:10 | |
*** aaronv has joined #zope | 14:11 | |
*** emrojo has quit IRC | 14:14 | |
*** fredvd|lunch is now known as fredvd | 14:18 | |
*** benji has quit IRC | 14:25 | |
*** dayne has joined #zope | 14:30 | |
*** thetet has joined #zope | 14:36 | |
*** tarek has quit IRC | 14:43 | |
*** Erikchs has joined #zope | 14:45 | |
*** MJ is now known as MJ|lunch | 14:45 | |
*** TomBlockley has joined #zope | 14:52 | |
*** dayne has quit IRC | 14:57 | |
*** benji has joined #zope | 15:13 | |
*** MJ|lunch is now known as MJ | 15:14 | |
*** ccomb has quit IRC | 15:22 | |
*** TomBlockley has quit IRC | 15:34 | |
*** TomBlockley has joined #zope | 15:35 | |
*** regebro has quit IRC | 15:39 | |
*** regebro has joined #zope | 15:40 | |
*** r0ver has joined #zope | 15:42 | |
*** Erikchs has quit IRC | 15:43 | |
*** shinygiftson has quit IRC | 15:51 | |
*** allisterb has quit IRC | 15:53 | |
*** sidnei has joined #zope | 15:55 | |
*** MrTango has joined #zope | 16:01 | |
*** redir has joined #zope | 16:07 | |
*** allisterb has joined #zope | 16:12 | |
*** igbun has joined #zope | 16:15 | |
*** TomBlockley has quit IRC | 16:21 | |
*** TomBlockley has joined #zope | 16:31 | |
*** alvaro_ has joined #zope | 16:34 | |
*** dunny has quit IRC | 16:37 | |
*** dunny has joined #zope | 16:38 | |
*** TomBlockley has quit IRC | 16:48 | |
*** mgedmin has joined #zope | 16:53 | |
CIA-46 | benji_york * r112220 /Sandbox/J1m/zodb-doc/intro.txt: copyediting | 17:00 |
*** TresEquis has joined #zope | 17:04 | |
*** wosc has quit IRC | 17:09 | |
*** jan_s has quit IRC | 17:13 | |
*** TomBlockley has joined #zope | 17:14 | |
*** digitalmortician has quit IRC | 17:16 | |
*** jan_s has joined #zope | 17:17 | |
*** hever has joined #zope | 17:18 | |
*** neo|4D has quit IRC | 17:22 | |
*** neo|4D has joined #zope | 17:22 | |
*** chaoflow has joined #zope | 17:23 | |
CIA-46 | wichert * r112221 Products.PluggableAuthService/Products/PluggableAuthService/www/ (arrow-up.gif arrow-down.gif arrow-left.gif arrow-right.gif): Zap bogus executable flag | 17:30 |
CIA-46 | wichert * r112222 Products.PluggableAuthService/Products/PluggableAuthService/plugins/www/zuUsers.zpt: & needs to be escaped (fixes problems with chameleon) | 17:30 |
*** sashav has quit IRC | 17:32 | |
*** timte has quit IRC | 17:36 | |
*** baijum has quit IRC | 17:36 | |
*** neo|4D has quit IRC | 17:39 | |
*** hever has quit IRC | 17:39 | |
sim_sim | Hey folks. Im using zope.testing and z3c.testsetup for tagging/running my test. But, I have a problem that is getting painful, I have not taggued my tests (in at least two parts: unit and functional test). Is there a good way to tag my tests, and to launch only those ? It would rocks as i am trying to improve my unit tests. Thanks a lot | 17:39 |
*** neo|4D has joined #zope | 17:39 | |
* mgedmin likes to keep his unit and functional tests in separate directories | 17:40 | |
* betabug does the same as mgedmin, only way to keep the partial appearance of sanity | 17:40 | |
*** neo|4D has quit IRC | 17:40 | |
*** neo|4D has joined #zope | 17:40 | |
sim_sim | mgedmin, betabug :) yeah but when using doctest, you have your test all around | 17:41 |
*** giampaolo has joined #zope | 17:41 | |
mgedmin | but then I have bits of repetitive code in each directory: test_all.py with a def test_suite(): return helper_function_that_globs_all_txt_files_and_adds_them_to_a_layer() | 17:41 |
mgedmin | I don't use z3c.testsetup | 17:41 |
mgedmin | and I don't use *.txt files for unit tests (those turned out to be a Really Bad Idea) | 17:41 |
mgedmin | well, there _are_ a couple of doctest files added to my test suites | 17:41 |
mgedmin | but the bulk of my unit tests are in *.py files | 17:42 |
mgedmin | (they're mostly doctests, though) | 17:42 |
*** agroszer has joined #zope | 17:43 | |
*** touff has joined #zope | 17:44 | |
sim_sim | all right cause my point was running coverage on unit test, and running coverage on functionnal test, separately. As all is mixed up, i don't know if my unittest does test properly the code (eg: or if this is a callback function of another module that is triggered during a functionnal test, that cover this line) | 17:45 |
CIA-46 | wichert * r112223 Products.PluggableAuthService/Products/PluggableAuthService/www/two_lists.zpt: Close br elements as well | 17:46 |
sim_sim | mgedmin, so you put no unit test in separate *.txt, but you have mixed unittest and functionnal test in doctest in the code, _plus_ a separate directory for unittest and doctest, is that it N | 17:47 |
sim_sim | (*.txt files are in the separate dir) | 17:47 |
mgedmin | do you use layers for your functional tests? | 17:48 |
sim_sim | mgedmin, yep | 17:50 |
mgedmin | my scheme is the "old" zope 3 scheme: package/tests/test*.py -- unit tests; package/ftests/test*.py and *.txt -- functional tests; package/*.txt -- API docs that are also included in the unit test suite to make sure they're up to date | 17:50 |
sim_sim | but also for unit test | 17:50 |
mgedmin | so, if you want to compute unit test coverage, do something like bin/test --coverage outdir --layer YourUnitTestLayer | 17:50 |
mgedmin | my unit tests are layerless, so I can do bin/test -u to run just them | 17:50 |
*** dayne has joined #zope | 17:51 | |
sim_sim | mgedmin, yep, but in my case -u does not work as it distinguish unittest from functional one, as using or not layers. | 17:52 |
mgedmin | right, that's why I suggested explicitly naming the layer you want | 17:52 |
sim_sim | your advice is to add all the unittest in a layer and to run it ? | 17:52 |
mgedmin | IIRC you can specify more than one | 17:52 |
* mgedmin pauses | 17:53 | |
mgedmin | you told me you already added all your unit tests to a layer! | 17:53 |
sim_sim | Indeed but this layer may be shared among multiple functional or unit test | 17:53 |
sim_sim | those are helper function that i may need everywhere | 17:53 |
mgedmin | well, there are many filtering options in zope.testing.testrunner | 17:53 |
sim_sim | so I rather create a lower layer, and add my unittest in it I suppose | 17:53 |
mgedmin | you could play with directory names, e.g. | 17:54 |
mgedmin | but yeah, I'd recommend separate layers for unit and functional tests | 17:54 |
mgedmin | re: "play with directory names | 17:54 |
sim_sim | Ok, thanks a lot for your advice | 17:55 |
mgedmin | if all your functional tests are in a directory named ftests, then bin/test --tests-pattern '^tests$' will skip them | 17:55 |
mgedmin | still, layers is simpler and cleaner | 17:55 |
sim_sim | This may be possible to stick with zope.testing, I was wondering if they were a third party tools that would enable me to tag some test as functionnal or not, and to get them run | 17:55 |
sim_sim | k | 17:56 |
*** phimic has quit IRC | 17:59 | |
*** JaRoel|4D has quit IRC | 18:03 | |
*** JaRoel|4D has joined #zope | 18:05 | |
*** daMaestro has joined #zope | 18:06 | |
*** hever has joined #zope | 18:10 | |
sim_sim | And I have a newbie question, it has not been clear for me: what s the difference between -s PACKAGE and -m MODULE, in zope.testing ? Thanks | 18:12 |
mgedmin | -s cuts off directory traversal, so might be a bit faster | 18:15 |
mgedmin | -m cuts off importing of modules, but the files have already been traversed | 18:16 |
mgedmin | this was important back when we had slow hard disks, little RAM for disk cache, and laaarge Zope 3 source trees | 18:16 |
*** runyaga_ has joined #zope | 18:19 | |
*** runyaga has joined #zope | 18:19 | |
TresEquis | sim_sim: I would rethink the "put unittests in a layer" approach | 18:23 |
TresEquis | layers imply shared setup across multiple runs | 18:23 |
CIA-46 | wichert * r112224 z3c.form/ (src/z3c/form/form.py CHANGES.txt): applyChanges should not try to compare old and new values of the old value can not be accessed. | 18:23 |
CIA-46 | wichert * r112225 z3c.form/ (3 files in 2 dirs): Fix DictionaryField to conform to the IDataManager spec: get() should raise an exception if no value can be found. | 18:23 |
CIA-46 | wichert * r112226 z3c.form/src/z3c/form/ (field.py object.py converter.py): Fix a few pyflakes warnings. There are a lot more, but I'll leave those for others | 18:23 |
CIA-46 | wichert * r112227 z3c.form/src/z3c/form/form.py: Improve change test | 18:23 |
TresEquis | which generally makes for poorly-isolated unit tests | 18:23 |
*** sunew has quit IRC | 18:24 | |
TresEquis | Split the current layer into two pieces: one a base class (or module) with the shared helper functions | 18:24 |
TresEquis | and one the actual "layer" part which does shared functional test setup. | 18:25 |
TresEquis | then your unit tests use the shared base class / module, but don't have a layer | 18:25 |
*** tiwula has joined #zope | 18:26 | |
sim_sim | mgedmin, thanks a lot | 18:27 |
*** touff has quit IRC | 18:27 | |
*** JaRoel|4D has quit IRC | 18:27 | |
sim_sim | TresEquis, so for unittest rather than extending some layer, I would have to make an import of the help module ? | 18:28 |
*** JaRoel|4D has joined #zope | 18:29 | |
*** JaRoel|4_ has joined #zope | 18:30 | |
*** JaRoel|4D has quit IRC | 18:30 | |
sim_sim | TresEquis, should my functional and unittest (that both need the same helpers), get the exactly the same helper but in a different way : one package as a module and needing to be import for unittest and one as a layer that should be inherited for functional test ? | 18:30 |
sim_sim | (sorry for my many english mistakes, trying to improve!) | 18:31 |
*** TomBlockley has quit IRC | 18:31 | |
TresEquis | sim_sim: votre anglais est parfait ;) | 18:34 |
TresEquis | I would factor the shared base class / module such that both functional and unit tests would use it the same way | 18:35 |
*** baijum has joined #zope | 18:35 | |
TresEquis | but keep the layers out of the picture (they are really only supposed to be for setup / teardown) | 18:35 |
mgedmin | TresEquis, do you have something against using layers for explicit grouping of tests? | 18:37 |
mgedmin | e.g. sim_sim's use case: compute testing coverage of _unit_ tests only | 18:37 |
TresEquis | mgedmin: I do | 18:39 |
TresEquis | I think unit tests should be clean, small, fast | 18:39 |
TresEquis | and that layers are the wrong abstraction for them | 18:39 |
TresEquis | I think the utility of grouping them goes down sharply once the Z3 monolith exploded into separate projects | 18:40 |
TresEquis | I also think unit tests should run with virtually no support from the testrunner beyond stdlib's unittest | 18:41 |
*** tisto has quit IRC | 19:10 | |
*** alecm has joined #zope | 19:11 | |
*** redir has quit IRC | 19:20 | |
*** goschtl has quit IRC | 19:23 | |
*** hever has quit IRC | 19:26 | |
CIA-46 | ulif * r112228 grokui.codebrowser/ (LICENSE.txt COPYRIGHT.txt): Comply to repository policy. | 19:27 |
CIA-46 | ulif * r112229 grokui.introspector/ (10 files in 3 dirs): Comply to repository policy. | 19:27 |
CIA-46 | ulif * r112230 grokui.quickstart/ (bootstrap.py COPYRIGHT.txt LICENSE.txt): Comply to repository policy. | 19:27 |
CIA-46 | ulif * r112231 grokui.zodbbrowser/ (LICENSE.txt COPYRIGHT.txt): Comply to repository policy. | 19:27 |
*** fredvd has quit IRC | 19:29 | |
*** aaronv_ has joined #zope | 19:39 | |
*** aaronv has quit IRC | 19:40 | |
*** aaronv_ is now known as aaronv | 19:40 | |
*** Hypergraphe has joined #zope | 19:43 | |
*** neo|4D has quit IRC | 19:45 | |
*** huajie has quit IRC | 19:46 | |
*** JaRoel|4_ has quit IRC | 19:46 | |
*** Kabz|4D has quit IRC | 19:46 | |
CIA-46 | ulif * r112232 gzo.plonepolicy/ (COPYRIGHT.txt LICENSE.txt): Comply to repository policy. | 19:47 |
CIA-46 | ulif * r112233 gzo.plonesmashtheme/setup.py: Bump version number. | 19:47 |
CIA-46 | ulif * r112234 gzo.plonesmashtheme/ (CHANGES.txt COPYRIGHT.txt LICENSE.txt): Comply to repository policy/add history. | 19:48 |
CIA-46 | ulif * r112235 gzo/ (LICENSE.txt bootstrap.py COPYRIGHT.txt): Comply to repository policy. | 19:48 |
*** MJ has quit IRC | 19:56 | |
*** davisagli has joined #zope | 20:01 | |
*** digilord has quit IRC | 20:11 | |
*** tarek has joined #zope | 20:12 | |
*** eperez has quit IRC | 20:19 | |
*** otacon has quit IRC | 20:20 | |
*** Kabz|4D has joined #zope | 20:21 | |
*** dvschramm has joined #zope | 20:24 | |
*** RaFromBRC has joined #zope | 20:31 | |
*** runyaga has quit IRC | 20:32 | |
*** runyaga_ has quit IRC | 20:32 | |
*** r0ver has left #zope | 20:33 | |
*** runyaga has joined #zope | 20:35 | |
*** runyaga_ has joined #zope | 20:35 | |
*** dvschramm has quit IRC | 20:36 | |
*** Kabz|4D has quit IRC | 20:39 | |
*** thetet has quit IRC | 20:41 | |
*** igbun has quit IRC | 20:44 | |
*** baijum has quit IRC | 20:44 | |
*** JaRoel|4D has joined #zope | 20:53 | |
*** teix has quit IRC | 20:53 | |
*** sim_sim has quit IRC | 20:59 | |
*** redir has joined #zope | 21:14 | |
*** dayne has quit IRC | 21:14 | |
CIA-46 | tseaver * r112236 zope.repositorypolicy/RULES.txt: Flesh out rules, notes about how to conform. | 21:16 |
CIA-46 | tseaver * r112237 zope.repositorypolicy/ (setup.py RULES.txt README.txt): Get pacakge docs into more-or-less canonical form. | 21:16 |
*** dayne has joined #zope | 21:24 | |
*** agroszer has quit IRC | 21:24 | |
*** agroszer_ has joined #zope | 21:24 | |
*** jim_SFU has joined #zope | 21:40 | |
*** mgedmin has quit IRC | 21:45 | |
*** redir_ has joined #zope | 22:04 | |
*** redir has quit IRC | 22:06 | |
*** redir_ is now known as redir | 22:06 | |
*** aaronv has quit IRC | 22:10 | |
*** daMaestro has quit IRC | 22:20 | |
*** JaRoel|4D has quit IRC | 22:22 | |
*** JaRoel|4D has joined #zope | 22:24 | |
*** allisterb has quit IRC | 22:24 | |
*** shaunw has joined #zope | 22:25 | |
*** daMaestro has joined #zope | 22:33 | |
*** agroszer_ has quit IRC | 22:39 | |
*** allisterb has joined #zope | 22:39 | |
*** igbun has joined #zope | 22:48 | |
*** neo|4D has joined #zope | 22:48 | |
*** Kabz|4D has joined #zope | 22:50 | |
*** neo|4D has quit IRC | 22:52 | |
*** shastry has joined #zope | 23:02 | |
*** allisterb has quit IRC | 23:08 | |
*** TomBlockley has joined #zope | 23:15 | |
*** TomBlockley has quit IRC | 23:17 | |
*** timte has joined #zope | 23:20 | |
*** allisterb has joined #zope | 23:24 | |
*** igbun has quit IRC | 23:25 | |
*** ccomb has joined #zope | 23:26 | |
*** igbun has joined #zope | 23:26 | |
*** alecm has quit IRC | 23:36 | |
*** aaronv has joined #zope | 23:37 | |
*** igbun has quit IRC | 23:38 | |
*** menesis has joined #zope | 23:46 | |
CIA-46 | jens * r112238 zope.repositorypolicy/README.txt: | 23:47 |
CIA-46 | - correct typos | 23:47 |
CIA-46 | - the license value in setup.py is OK as long as it starts with "ZPL" | 23:47 |
*** Charlie_X has joined #zope | 23:49 | |
*** Charlie_X has quit IRC | 23:51 | |
*** alecm has joined #zope | 23:52 | |
*** menesis has quit IRC | 23:58 | |
*** menesis1 has joined #zope | 23:58 | |
*** neo|4D has joined #zope | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!