Thursday, 2010-08-19

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** epyon-sa1ura has quit IRC00:19
*** epyon-sa1ura has joined #tp00:20
*** epyon-sa1ura has quit IRC00:26
*** StupidIncarnate has joined #tp01:44
llnzbrb02:15
*** llnz has quit IRC02:15
*** llnz has joined #tp02:17
*** StupidIncarnate has quit IRC03:51
llnzbbl, maybe04:47
*** llnz has quit IRC04:47
*** StupidIncarnate has joined #tp05:15
*** epyon-sa1ura has joined #tp05:16
*** cahirwpz has joined #tp06:41
cahirwpztansell, ping?07:01
*** bisc has joined #tp07:30
tansellcahirwpz, pong07:31
cahirwpztansell, I managed to port tests to unittest, could you review the commit ?07:34
tansellcahirwpz, did you see my comments about using the stack frame to find the information you are after rather then a logctx decorator?07:36
cahirwpzyep, I'm going to investigate it after the breakfast07:37
tansellcahirwpz, I don't understand the reason behind the context stuff used in the test code07:38
tansellcahirwpz, the tests should really start up a tpserver-py in the setUp/tearDown so they get fresh state each time07:40
cahirwpzTest Context is (mostly) a storage for data generated in setUp methods07:41
tansellcahirwpz, why not just use attributes on the test class?07:42
cahirwpzbefore any test is run, a game must be set up, then the game with two players is stored in a context07:42
cahirwpzthen the context is saved (against changes) and forwarded to tests suites07:43
*** bisc has quit IRC07:43
cahirwpztansell, I'd need to remember which class stores a required attribute, so effectively browse parents of a test case07:44
tansellcahirwpz, so you pass around a dictionary instead?07:45
cahirwpzdictionary does not have a save / restore methods and I cannot control what's inside if I need to07:45
tansellcahirwpz, I still don't understand why are you saving/restoring stuff - why don't you setup a clean context each time?07:47
cahirwpzI don't want to set up the game and tables each time I run a single test case07:48
cahirwpzIf I know I'll play only with Categories why should I fill up whole database, only categories will change after all07:50
cahirwpztake a path from root test suite (MainTestSuite) to AddCategoryWithSameNameAsPublic test07:51
tansellcahirwpz, I should be able to look at AddCategoryWithSameNameAsPublic and see the test add a category with same name as public and then test for the expected result - instead I get something which looks nothing like a test07:53
*** epyon-sa1ura has quit IRC08:02
*** knotwork has quit IRC08:02
*** cahirwpz has quit IRC08:02
*** Greywhind has quit IRC08:02
*** DTRemenak has quit IRC08:02
*** ezod has quit IRC08:02
*** tote has quit IRC08:02
*** verhoevenv_ has quit IRC08:02
*** StupidIncarnate has quit IRC08:02
*** welterde has quit IRC08:02
*** Vadtec has quit IRC08:02
*** cahirwpz has joined #tp08:06
cahirwpztansell, Do you think that I should create CategoryTestCase and move setUp / tearDown methods from CategoryTestSuite to CategoryTestCase, and after that derive all Category related tests from CategoryTestCase ?08:07
cahirwpztansell, If I changed tests in this way we could probably also remove TestContext class08:08
tansellyes - TestSuites shouldn't be doing any setUp/tearDown08:08
cahirwpzwell, they could do some fixtures08:09
cahirwpzbut that's not relevant at the moment08:09
cahirwpzI think I can remove setUp / tearDown methods from TestSuites and move them to helper classes08:10
cahirwpzthis way each TestCase would be independent from each other08:11
cahirwpzprobably TestContext could be removed then, and TestSuite class greatly simplified08:12
cahirwpzwhat do you think about that ?08:12
*** cahirwpz has quit IRC08:14
*** cahirwpz has joined #tp08:15
cahirwpztansell, poke?08:21
tansellsounds good in principle08:22
cahirwpzok, it seems to work as expected08:31
cahirwpza test run is much slower but works08:31
tansellokay08:32
cahirwpzI added CategoryTestMixin class, moved there setUp / tearDown methods, and added CategoryTestMixin to the inheritance list of classes that need such initialisation08:34
*** epyon-sakura has joined #tp08:34
*** verhoevenv_ has joined #tp08:48
*** StupidIncarnate has joined #tp08:51
*** welterde has joined #tp08:51
*** Vadtec has joined #tp08:51
*** epyon-sakura has quit IRC09:03
*** tansell has quit IRC09:03
*** CIA-31 has quit IRC09:03
*** StupidIncarnate has quit IRC09:03
*** welterde has quit IRC09:03
*** Vadtec has quit IRC09:03
*** verhoevenv_ has quit IRC09:03
*** cahirwpz has quit IRC09:03
*** StupidIncarnate has joined #tp09:10
*** cahirwpz has joined #tp09:11
*** verhoevenv_ has joined #tp09:14
*** tansell has joined #tp09:14
*** welterde has joined #tp09:14
*** Vadtec has joined #tp09:14
*** cahirwpz has quit IRC09:14
*** tansell has quit IRC09:14
*** welterde has quit IRC09:14
*** Vadtec has quit IRC09:14
*** verhoevenv_ has quit IRC09:14
*** cahirwpz_ has joined #tp09:15
*** Vadtec has joined #tp09:17
*** welterde has joined #tp09:17
*** tansell has joined #tp09:17
*** verhoevenv_ has joined #tp09:17
*** cahirwpz_ has quit IRC09:18
*** Greywhind has joined #tp09:20
*** DTRemenak has joined #tp09:20
*** knotwork has joined #tp09:20
*** 77CAA3L5J has joined #tp09:21
*** epyon-sakura has joined #tp09:21
*** ezod has joined #tp09:21
*** tote has joined #tp09:21
*** 77CAA3L5J has quit IRC09:21
*** epyon-sakura has quit IRC09:21
*** ezod has quit IRC09:21
*** tote has quit IRC09:21
*** knotwork has quit IRC09:22
*** Greywhind has quit IRC09:22
*** DTRemenak has quit IRC09:22
*** tansell has quit IRC09:22
*** welterde has quit IRC09:22
*** Vadtec has quit IRC09:22
*** verhoevenv_ has quit IRC09:22
*** shenki has quit IRC09:25
*** Vadtec has joined #tp09:35
*** shenki_ has joined #tp09:35
*** tote has joined #tp09:35
*** ezod has joined #tp09:35
*** epyon-sakura has joined #tp09:35
*** CIA-27 has joined #tp09:35
*** knotwork has joined #tp09:35
*** DTRemenak has joined #tp09:35
*** Greywhind has joined #tp09:35
*** welterde has joined #tp09:35
*** tansell has joined #tp09:35
*** verhoevenv_ has joined #tp09:35
*** Vadtec has quit IRC09:36
*** Vadtec has joined #tp09:36
*** mithro has quit IRC09:42
*** cahirwpz has joined #tp09:44
CIA-27Krystian Bacławski gsoc2010 * r614d3b6 / (23 files in 3 dirs): [mithro's request] Full TestCase isolation. - http://bit.ly/cUAErS09:44
tpbTitle: Commit 614d3b64bb3689a6ba91f3134a716f685b8c562d to cahirwpz's tpserver-py - GitHub (at bit.ly)09:44
cahirwpztansell, okay - now tests are much closer to the philosophy of unittest module, some bugs in test cases emerged, but I'll fix them today09:47
*** tansell-laptop has quit IRC09:47
*** tansell-laptop has joined #tp10:01
CIA-27Krystian Bacławski gsoc2010 * r1401581 / (16 files): Minor tests clean up. - http://bit.ly/b7pE4t10:12
tpbTitle: Commit 1401581c60e52fa320035656c34fcad5412fb74f to cahirwpz's tpserver-py - GitHub (at bit.ly)10:12
epyon-sakura@seen llnz10:13
epyon-sakuradammit10:13
epyon-sakurathis hotel has a weird firewall... can't push anything :/10:13
CIA-27Krystian Bacławski gsoc2010 * r709d0aa / tests/testcases/testenv.py : Fixed tearDown method in GameTestEnvMixin. - http://bit.ly/9Kitvq10:35
tpbTitle: Commit 709d0aab2038976a528ab87003cbd6d837fa7611 to cahirwpz's tpserver-py - GitHub (at bit.ly)10:35
cahirwpztansell, poke?10:36
*** StupidIncarnate has quit IRC10:45
CIA-27Krystian Bacławski gsoc2010 * reeefdd7 / (12 files in 2 dirs): Minor tests refactoring. - http://bit.ly/cuUXOp11:38
tpbTitle: Commit eeefdd7e82e97f4a097509817337cf8996068d2a to cahirwpz's tpserver-py - GitHub (at bit.ly)11:38
CIA-27Krystian Bacławski gsoc2010 * r2a1cc43 / tp/server/commands/Common.py : Removed a really nasty workaround. - http://bit.ly/aOhaG012:08
tpbTitle: Commit 2a1cc43db6dd0fc1e3a427b318f071de693602fa to cahirwpz's tpserver-py - GitHub (at bit.ly)12:08
CIA-27Krystian Bacławski gsoc2010 * rceaf590 / (10 files in 4 dirs): [mithro's request] Removed logctx and logPrefix. - http://bit.ly/aGZj3412:56
tpbTitle: Commit ceaf590cafff1fef891026ed0097ba36bebf075f to cahirwpz's tpserver-py - GitHub (at bit.ly)12:56
*** Greywhind has quit IRC12:57
*** Greywhind has joined #tp13:29
*** StupidIncarnate has joined #tp13:41
*** shenki_ is now known as shenki14:14
*** StupidIncarnate has quit IRC15:47
*** glew has joined #tp15:56
*** epyon-sakura has quit IRC17:23
*** epyon-sakura has joined #tp17:27
*** epyon-sakura has quit IRC17:31
*** StrangerDanger has quit IRC18:12
*** StrangerDanger has joined #tp18:17
*** UltraDMA has joined #tp18:42
*** Agon-laptop has joined #tp18:47
*** UltraDMA has left #tp18:58
*** Agon-laptop has quit IRC19:24
*** StupidIncarnate has joined #tp19:53
*** StupidIncarnate has quit IRC20:03
glewezod: hey, just wanted to let you know I did a write up on my blog, and I did the final evaluation survey20:05
glewezod: if there's anything else you need/want me to do, let me know20:05
*** StupidIncarnate has joined #tp20:08
*** llnz has joined #tp20:38
llnzmorning all20:38
llnzGSoC students and mentors: don't forget to do your evaluations in the next 24 hours (or so)20:39
llnzactually, it's slightly less than 23 hours20:39
*** cahirwpz has quit IRC20:57
*** Greywhind has quit IRC21:07
*** Greywhind has joined #tp21:32
*** epyon-sa1ura has joined #tp21:33
*** cahirwpz has joined #tp21:43
epyon-sa1urallnz: ping?22:08
llnzepyon-sa1ura: pong22:12
epyon-sa1urallnz: prv msg22:16
*** cahirwpz has quit IRC22:25
*** epyon-sa1ura has quit IRC22:46
llnzafk23:01
*** jnengland77 has joined #tp23:30

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!