Wednesday, 2009-05-06

*** tpb has joined #melange00:00
*** tansell_ has joined #melange00:10
*** tansell_ has quit IRC00:13
*** tansell-laptop has joined #melange00:13
*** tansell-laptop has quit IRC01:24
*** forever has joined #melange01:35
*** SRabbelier has joined #melange01:39
*** ChanServ sets mode: +o SRabbelier01:39
jamtodaySRabbelier: the new tooltips are much better. I've been thinking about the UI and tooltip instructions for survey, and it'll be nice to have some space to work with03:17
jamtoday(and they dont get block me from form fields)03:17
*** solydzajs has joined #melange04:52
*** ChanServ sets mode: +o solydzajs04:52
*** dr__house has joined #melange04:54
*** tansell-laptop has joined #melange04:56
*** florinciu has joined #melange04:59
*** penyaskito_ has joined #melange05:04
*** florinciu has quit IRC05:04
*** florinciu has joined #melange05:04
*** tansell-laptop has quit IRC05:05
*** tansell-laptop has joined #melange05:05
*** penyaskito has quit IRC05:20
*** MatthewWilkes has joined #melange05:43
*** MatthewWilkes has joined #melange05:44
*** dr__house has quit IRC05:57
*** Lennie has joined #melange06:57
*** Lennie has left #melange06:57
*** MatthewWilkes has quit IRC07:02
*** mithro has quit IRC07:07
*** arvind_khadri has joined #melange07:08
*** arvind_khadri has quit IRC07:09
*** arvind_khadri has joined #melange07:09
*** xkill has joined #melange07:10
*** MatthewWilkes has joined #melange07:12
*** riot has quit IRC07:20
*** arvind_khadri has quit IRC07:24
*** arvind_khadri has joined #melange07:36
*** madrazr has joined #melange07:41
*** Merio has joined #melange07:58
*** arvind_khadri has quit IRC08:26
*** madrazr has left #melange08:28
*** solydzajs has quit IRC08:38
*** arvind_khadri has joined #melange08:40
*** madrazr has joined #melange09:18
*** mak89 has joined #melange09:19
*** mak89 has left #melange09:19
*** dr__house has joined #melange09:33
*** dr__house has quit IRC10:34
*** dr__house has joined #melange10:34
*** forever has quit IRC10:53
*** dmitrig01|afk has joined #melange11:01
*** ChanServ sets mode: +v dmitrig01|afk11:01
*** dbentley-laptop has joined #melange11:10
*** dmitrig01|afk has quit IRC11:31
*** xkill is now known as riot11:45
*** Lennie has joined #melange12:16
*** ChanServ sets mode: +o Lennie12:16
*** arun has quit IRC12:40
*** arvind_khadri has quit IRC12:40
*** r0bby has quit IRC12:40
*** rwatson has quit IRC12:40
*** dbentley-laptop has quit IRC12:40
*** tansell has quit IRC12:40
*** Merio has quit IRC12:40
*** sandy|lurk has quit IRC12:40
*** kblin has quit IRC12:40
*** scorche|sh has quit IRC12:40
*** Mek has quit IRC12:40
*** gchaix has quit IRC12:40
*** madrazr has quit IRC12:40
*** MatthewWilkes has quit IRC12:40
*** riot has quit IRC12:40
*** florinciu has quit IRC12:40
*** jamtoday has quit IRC12:40
*** durin42 has quit IRC12:40
*** Lennie has quit IRC12:40
*** grim has quit IRC12:40
*** kangaroo has quit IRC12:40
*** penyaskito_ has quit IRC12:40
*** tansell-laptop has quit IRC12:40
*** SRabbelier has quit IRC12:40
*** lisppaste9 has quit IRC12:40
*** krnl_ has quit IRC12:40
*** nuba has quit IRC12:40
*** Kraln- has quit IRC12:40
*** schultmc has quit IRC12:40
*** Erant has quit IRC12:40
*** ArthurLiu has quit IRC12:40
*** danderson has quit IRC12:40
*** jbailey has quit IRC12:40
*** dr__house has quit IRC12:40
*** danderson has joined #melange12:47
*** Kraln- has joined #melange12:47
*** nuba has joined #melange12:47
*** kangaroo has joined #melange12:47
*** krnl_ has joined #melange12:47
*** grim has joined #melange12:47
*** ArthurLiu has joined #melange12:47
*** Erant has joined #melange12:47
*** Mek has joined #melange12:47
*** gchaix has joined #melange12:47
*** scorche|sh has joined #melange12:47
*** durin42 has joined #melange12:47
*** schultmc has joined #melange12:47
*** lisppaste9 has joined #melange12:47
*** jamtoday has joined #melange12:47
*** SRabbelier has joined #melange12:47
*** penyaskito_ has joined #melange12:47
*** florinciu has joined #melange12:47
*** tansell-laptop has joined #melange12:47
*** riot has joined #melange12:47
*** MatthewWilkes has joined #melange12:47
*** madrazr has joined #melange12:47
*** arvind_khadri has joined #melange12:47
*** Merio has joined #melange12:47
*** sandy|lurk has joined #melange12:47
*** kblin has joined #melange12:47
*** Lennie has joined #melange12:47
*** irc.freenode.net sets mode: +ovoo danderson durin42 SRabbelier Lennie12:47
*** rwatson has joined #melange12:47
*** dr__house has joined #melange12:47
*** arun has joined #melange12:47
*** arun has joined #melange12:47
*** dbentley-laptop has joined #melange12:47
*** jbailey_ has joined #melange12:48
*** ChanServ sets mode: +o jbailey_12:48
*** ajaksu has joined #melange12:49
*** Lennie is now known as Lennie|Gone12:51
*** gchaix has quit IRC12:54
*** tansell has joined #melange12:54
*** jbailey_ is now known as jbailey13:13
*** Lennie|Gone is now known as Lennie13:21
*** dbentley-laptop has left #melange13:38
*** dr__house has quit IRC13:47
*** gchaix_ has joined #melange13:47
*** gchaix_ is now known as gchaix13:59
*** Lennie has quit IRC14:04
*** florinciu has quit IRC14:08
*** grim has quit IRC14:31
*** grim has joined #melange14:31
*** grim has quit IRC14:31
*** MatthewWilkes has quit IRC14:41
*** r0bby has joined #melange15:08
madrazrSRabbelier: I read most of this document, http://docs.python.org/library/unittest.html15:29
tpbTitle: 26.3. unittest — Unit testing framework Python v2.6.2 documentation (at docs.python.org)15:29
SRabbeliermadrazr: ah, was it useful? :)15:30
madrazrwhat else I may have to read before starting to write Unit tests for logic and views?15:30
SRabbeliermadrazr: our source code / existing tests? ;D15:30
madrazrSRabbelier: yes of course, I had absolutely no idea of how to write tests (this will be my first ever attempt in writing tests :P)15:30
madrazrSRabbelier: Ok15:30
madrazrSRabbelier: I will jump into existing tests then15:30
SRabbeliermadrazr: ok, be sure to ask a lot of questions! :)15:31
madrazrSRabbelier: yeah definitely :)15:31
SRabbeliermadrazr: best for you to bother us than to be doing it all by yourself, that's why we're here :)15:31
madrazrSRabbelier: thanks a lot15:31
madrazrwill surely ask questions15:31
SRabbeliermadrazr: great :)15:31
*** penyaskito_ has quit IRC15:38
madrazrSRabbelier: heh, questions started popping up in my mind already :P15:43
SRabbeliermadrazr: ask away!15:43
madrazrclass UserTest(unittest.TestCase):15:43
madrazr  """Tests related to user logic.15:43
madrazr  """15:43
madrazrwhy both have same class names?15:44
madrazrand same doc string15:44
madrazrouch15:44
madrazrin /media/netfs/melange/tests/app/soc/logic/models/test_user.py and test_base.py15:44
madrazrI meant15:44
madrazrSRabbelier: remove /media/netfs ;-) thats my system path for melange15:45
madrazrcopy pasting ftl :(15:45
SRabbeliermadrazr: hmmm... good question, I forget! :p15:46
madrazrSRabbelier: they should have different names?15:47
SRabbeliermadrazr: do they do something different? ;)15:47
madrazrSRabbelier: yes, test_user tests for Authenticated users and non-authenticated users where as test_base tests for our very basic methods getForFields and stuff15:48
SRabbeliermadrazr: ah, I see, copy/paste fail then :)15:49
madrazrSRabbelier: Oh Ok :)15:50
madrazrSRabbelier: I did not get on what basis you choose test cases15:51
madrazrfor example in test_user you chose based on different possible users for the system, where as in test_base you chose the methods defined in the class15:51
madrazrSRabbelier: how to go about?15:51
SRabbeliermadrazr: those were just random tests really :)15:52
madrazrSRabbelier: Oh Ok15:52
SRabbeliermadrazr: the user email tests I wrote because I got bitten by it not working one too many times15:52
madrazrSRabbelier: Ok15:52
SRabbeliermadrazr: and in test_base I wanted to test the new getForFields code15:52
madrazrSRabbelier: Ok15:52
madrazrSRabbelier: whats the general approach then?15:53
SRabbeliermadrazr: really, whichever you prefer :)15:53
madrazrSRabbelier: ah Ok cool!15:54
madrazrI liked that freedom ;-)15:54
SRabbeliermadrazr: you could focus on, say, testing that a Mentor can  log in to all mentor pages, and only to mentor pages15:54
madrazrSRabbelier: Ok15:54
SRabbeliermadrazr: hehe, you're doing this out of free will, we're not going to force you into anything :D15:54
madrazrSRabbelier: ROFL :D15:54
madrazrSRabbelier: so that essentially means, I must write a test for whatever test case I think is a valid test case?15:55
SRabbeliermadrazr: yes, pretty much :)15:55
madrazrSRabbelier: awesome15:55
SRabbeliermadrazr: would of course be a good idea to ask first15:55
SRabbelierbut eh :P15:55
madrazrSRabbelier: heh Ok :)15:55
madrazrSRabbelier: Wiki ftw!? ;-)15:56
madrazrSRabbelier: good to list somewhere on the wiki if time permits?15:56
SRabbeliermadrazr: mhhh, yes, but +1 to asking in IRC  :D15:56
madrazrSRabbelier: Ok15:56
*** madrazr1 has joined #melange16:33
*** SRabbelier has quit IRC16:36
*** madrazr has quit IRC16:52
*** madrazr1 is now known as madrazr16:53
*** madrazr has left #melange16:57
*** solydzajs has joined #melange17:30
*** ChanServ sets mode: +o solydzajs17:30
*** penyaskito has joined #melange17:30
*** solydzajs has quit IRC17:40
*** tansell-laptop has quit IRC18:33
*** dmitrig01|afk has joined #melange18:46
*** ChanServ sets mode: +v dmitrig01|afk18:46
*** Merio has quit IRC19:42
*** tansell-laptop has joined #melange20:04
*** mithro has joined #melange20:06
*** ChanServ sets mode: +v mithro20:06
*** tansell_laptop has joined #melange21:24
*** tansell-laptop has quit IRC21:36
*** ankitg has joined #melange21:41
*** arvind_khadri has quit IRC22:05
*** forever has joined #melange23:03
*** tansell--laptop has joined #melange23:16
*** tansell_laptop has quit IRC23:18
*** forever has quit IRC23:56

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