*** tpb has joined #melange | 00:00 | |
*** tansell_ has joined #melange | 00:10 | |
*** tansell_ has quit IRC | 00:13 | |
*** tansell-laptop has joined #melange | 00:13 | |
*** tansell-laptop has quit IRC | 01:24 | |
*** forever has joined #melange | 01:35 | |
*** SRabbelier has joined #melange | 01:39 | |
*** ChanServ sets mode: +o SRabbelier | 01:39 | |
jamtoday | SRabbelier: 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 with | 03:17 |
---|---|---|
jamtoday | (and they dont get block me from form fields) | 03:17 |
*** solydzajs has joined #melange | 04:52 | |
*** ChanServ sets mode: +o solydzajs | 04:52 | |
*** dr__house has joined #melange | 04:54 | |
*** tansell-laptop has joined #melange | 04:56 | |
*** florinciu has joined #melange | 04:59 | |
*** penyaskito_ has joined #melange | 05:04 | |
*** florinciu has quit IRC | 05:04 | |
*** florinciu has joined #melange | 05:04 | |
*** tansell-laptop has quit IRC | 05:05 | |
*** tansell-laptop has joined #melange | 05:05 | |
*** penyaskito has quit IRC | 05:20 | |
*** MatthewWilkes has joined #melange | 05:43 | |
*** MatthewWilkes has joined #melange | 05:44 | |
*** dr__house has quit IRC | 05:57 | |
*** Lennie has joined #melange | 06:57 | |
*** Lennie has left #melange | 06:57 | |
*** MatthewWilkes has quit IRC | 07:02 | |
*** mithro has quit IRC | 07:07 | |
*** arvind_khadri has joined #melange | 07:08 | |
*** arvind_khadri has quit IRC | 07:09 | |
*** arvind_khadri has joined #melange | 07:09 | |
*** xkill has joined #melange | 07:10 | |
*** MatthewWilkes has joined #melange | 07:12 | |
*** riot has quit IRC | 07:20 | |
*** arvind_khadri has quit IRC | 07:24 | |
*** arvind_khadri has joined #melange | 07:36 | |
*** madrazr has joined #melange | 07:41 | |
*** Merio has joined #melange | 07:58 | |
*** arvind_khadri has quit IRC | 08:26 | |
*** madrazr has left #melange | 08:28 | |
*** solydzajs has quit IRC | 08:38 | |
*** arvind_khadri has joined #melange | 08:40 | |
*** madrazr has joined #melange | 09:18 | |
*** mak89 has joined #melange | 09:19 | |
*** mak89 has left #melange | 09:19 | |
*** dr__house has joined #melange | 09:33 | |
*** dr__house has quit IRC | 10:34 | |
*** dr__house has joined #melange | 10:34 | |
*** forever has quit IRC | 10:53 | |
*** dmitrig01|afk has joined #melange | 11:01 | |
*** ChanServ sets mode: +v dmitrig01|afk | 11:01 | |
*** dbentley-laptop has joined #melange | 11:10 | |
*** dmitrig01|afk has quit IRC | 11:31 | |
*** xkill is now known as riot | 11:45 | |
*** Lennie has joined #melange | 12:16 | |
*** ChanServ sets mode: +o Lennie | 12:16 | |
*** arun has quit IRC | 12:40 | |
*** arvind_khadri has quit IRC | 12:40 | |
*** r0bby has quit IRC | 12:40 | |
*** rwatson has quit IRC | 12:40 | |
*** dbentley-laptop has quit IRC | 12:40 | |
*** tansell has quit IRC | 12:40 | |
*** Merio has quit IRC | 12:40 | |
*** sandy|lurk has quit IRC | 12:40 | |
*** kblin has quit IRC | 12:40 | |
*** scorche|sh has quit IRC | 12:40 | |
*** Mek has quit IRC | 12:40 | |
*** gchaix has quit IRC | 12:40 | |
*** madrazr has quit IRC | 12:40 | |
*** MatthewWilkes has quit IRC | 12:40 | |
*** riot has quit IRC | 12:40 | |
*** florinciu has quit IRC | 12:40 | |
*** jamtoday has quit IRC | 12:40 | |
*** durin42 has quit IRC | 12:40 | |
*** Lennie has quit IRC | 12:40 | |
*** grim has quit IRC | 12:40 | |
*** kangaroo has quit IRC | 12:40 | |
*** penyaskito_ has quit IRC | 12:40 | |
*** tansell-laptop has quit IRC | 12:40 | |
*** SRabbelier has quit IRC | 12:40 | |
*** lisppaste9 has quit IRC | 12:40 | |
*** krnl_ has quit IRC | 12:40 | |
*** nuba has quit IRC | 12:40 | |
*** Kraln- has quit IRC | 12:40 | |
*** schultmc has quit IRC | 12:40 | |
*** Erant has quit IRC | 12:40 | |
*** ArthurLiu has quit IRC | 12:40 | |
*** danderson has quit IRC | 12:40 | |
*** jbailey has quit IRC | 12:40 | |
*** dr__house has quit IRC | 12:40 | |
*** danderson has joined #melange | 12:47 | |
*** Kraln- has joined #melange | 12:47 | |
*** nuba has joined #melange | 12:47 | |
*** kangaroo has joined #melange | 12:47 | |
*** krnl_ has joined #melange | 12:47 | |
*** grim has joined #melange | 12:47 | |
*** ArthurLiu has joined #melange | 12:47 | |
*** Erant has joined #melange | 12:47 | |
*** Mek has joined #melange | 12:47 | |
*** gchaix has joined #melange | 12:47 | |
*** scorche|sh has joined #melange | 12:47 | |
*** durin42 has joined #melange | 12:47 | |
*** schultmc has joined #melange | 12:47 | |
*** lisppaste9 has joined #melange | 12:47 | |
*** jamtoday has joined #melange | 12:47 | |
*** SRabbelier has joined #melange | 12:47 | |
*** penyaskito_ has joined #melange | 12:47 | |
*** florinciu has joined #melange | 12:47 | |
*** tansell-laptop has joined #melange | 12:47 | |
*** riot has joined #melange | 12:47 | |
*** MatthewWilkes has joined #melange | 12:47 | |
*** madrazr has joined #melange | 12:47 | |
*** arvind_khadri has joined #melange | 12:47 | |
*** Merio has joined #melange | 12:47 | |
*** sandy|lurk has joined #melange | 12:47 | |
*** kblin has joined #melange | 12:47 | |
*** Lennie has joined #melange | 12:47 | |
*** irc.freenode.net sets mode: +ovoo danderson durin42 SRabbelier Lennie | 12:47 | |
*** rwatson has joined #melange | 12:47 | |
*** dr__house has joined #melange | 12:47 | |
*** arun has joined #melange | 12:47 | |
*** arun has joined #melange | 12:47 | |
*** dbentley-laptop has joined #melange | 12:47 | |
*** jbailey_ has joined #melange | 12:48 | |
*** ChanServ sets mode: +o jbailey_ | 12:48 | |
*** ajaksu has joined #melange | 12:49 | |
*** Lennie is now known as Lennie|Gone | 12:51 | |
*** gchaix has quit IRC | 12:54 | |
*** tansell has joined #melange | 12:54 | |
*** jbailey_ is now known as jbailey | 13:13 | |
*** Lennie|Gone is now known as Lennie | 13:21 | |
*** dbentley-laptop has left #melange | 13:38 | |
*** dr__house has quit IRC | 13:47 | |
*** gchaix_ has joined #melange | 13:47 | |
*** gchaix_ is now known as gchaix | 13:59 | |
*** Lennie has quit IRC | 14:04 | |
*** florinciu has quit IRC | 14:08 | |
*** grim has quit IRC | 14:31 | |
*** grim has joined #melange | 14:31 | |
*** grim has quit IRC | 14:31 | |
*** MatthewWilkes has quit IRC | 14:41 | |
*** r0bby has joined #melange | 15:08 | |
madrazr | SRabbelier: I read most of this document, http://docs.python.org/library/unittest.html | 15:29 |
tpb | Title: 26.3. unittest — Unit testing framework Python v2.6.2 documentation (at docs.python.org) | 15:29 |
SRabbelier | madrazr: ah, was it useful? :) | 15:30 |
madrazr | what else I may have to read before starting to write Unit tests for logic and views? | 15:30 |
SRabbelier | madrazr: our source code / existing tests? ;D | 15:30 |
madrazr | SRabbelier: 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 |
madrazr | SRabbelier: Ok | 15:30 |
madrazr | SRabbelier: I will jump into existing tests then | 15:30 |
SRabbelier | madrazr: ok, be sure to ask a lot of questions! :) | 15:31 |
madrazr | SRabbelier: yeah definitely :) | 15:31 |
SRabbelier | madrazr: best for you to bother us than to be doing it all by yourself, that's why we're here :) | 15:31 |
madrazr | SRabbelier: thanks a lot | 15:31 |
madrazr | will surely ask questions | 15:31 |
SRabbelier | madrazr: great :) | 15:31 |
*** penyaskito_ has quit IRC | 15:38 | |
madrazr | SRabbelier: heh, questions started popping up in my mind already :P | 15:43 |
SRabbelier | madrazr: ask away! | 15:43 |
madrazr | class UserTest(unittest.TestCase): | 15:43 |
madrazr | """Tests related to user logic. | 15:43 |
madrazr | """ | 15:43 |
madrazr | why both have same class names? | 15:44 |
madrazr | and same doc string | 15:44 |
madrazr | ouch | 15:44 |
madrazr | in /media/netfs/melange/tests/app/soc/logic/models/test_user.py and test_base.py | 15:44 |
madrazr | I meant | 15:44 |
madrazr | SRabbelier: remove /media/netfs ;-) thats my system path for melange | 15:45 |
madrazr | copy pasting ftl :( | 15:45 |
SRabbelier | madrazr: hmmm... good question, I forget! :p | 15:46 |
madrazr | SRabbelier: they should have different names? | 15:47 |
SRabbelier | madrazr: do they do something different? ;) | 15:47 |
madrazr | SRabbelier: yes, test_user tests for Authenticated users and non-authenticated users where as test_base tests for our very basic methods getForFields and stuff | 15:48 |
SRabbelier | madrazr: ah, I see, copy/paste fail then :) | 15:49 |
madrazr | SRabbelier: Oh Ok :) | 15:50 |
madrazr | SRabbelier: I did not get on what basis you choose test cases | 15:51 |
madrazr | for 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 class | 15:51 |
madrazr | SRabbelier: how to go about? | 15:51 |
SRabbelier | madrazr: those were just random tests really :) | 15:52 |
madrazr | SRabbelier: Oh Ok | 15:52 |
SRabbelier | madrazr: the user email tests I wrote because I got bitten by it not working one too many times | 15:52 |
madrazr | SRabbelier: Ok | 15:52 |
SRabbelier | madrazr: and in test_base I wanted to test the new getForFields code | 15:52 |
madrazr | SRabbelier: Ok | 15:52 |
madrazr | SRabbelier: whats the general approach then? | 15:53 |
SRabbelier | madrazr: really, whichever you prefer :) | 15:53 |
madrazr | SRabbelier: ah Ok cool! | 15:54 |
madrazr | I liked that freedom ;-) | 15:54 |
SRabbelier | madrazr: you could focus on, say, testing that a Mentor can log in to all mentor pages, and only to mentor pages | 15:54 |
madrazr | SRabbelier: Ok | 15:54 |
SRabbelier | madrazr: hehe, you're doing this out of free will, we're not going to force you into anything :D | 15:54 |
madrazr | SRabbelier: ROFL :D | 15:54 |
madrazr | SRabbelier: so that essentially means, I must write a test for whatever test case I think is a valid test case? | 15:55 |
SRabbelier | madrazr: yes, pretty much :) | 15:55 |
madrazr | SRabbelier: awesome | 15:55 |
SRabbelier | madrazr: would of course be a good idea to ask first | 15:55 |
SRabbelier | but eh :P | 15:55 |
madrazr | SRabbelier: heh Ok :) | 15:55 |
madrazr | SRabbelier: Wiki ftw!? ;-) | 15:56 |
madrazr | SRabbelier: good to list somewhere on the wiki if time permits? | 15:56 |
SRabbelier | madrazr: mhhh, yes, but +1 to asking in IRC :D | 15:56 |
madrazr | SRabbelier: Ok | 15:56 |
*** madrazr1 has joined #melange | 16:33 | |
*** SRabbelier has quit IRC | 16:36 | |
*** madrazr has quit IRC | 16:52 | |
*** madrazr1 is now known as madrazr | 16:53 | |
*** madrazr has left #melange | 16:57 | |
*** solydzajs has joined #melange | 17:30 | |
*** ChanServ sets mode: +o solydzajs | 17:30 | |
*** penyaskito has joined #melange | 17:30 | |
*** solydzajs has quit IRC | 17:40 | |
*** tansell-laptop has quit IRC | 18:33 | |
*** dmitrig01|afk has joined #melange | 18:46 | |
*** ChanServ sets mode: +v dmitrig01|afk | 18:46 | |
*** Merio has quit IRC | 19:42 | |
*** tansell-laptop has joined #melange | 20:04 | |
*** mithro has joined #melange | 20:06 | |
*** ChanServ sets mode: +v mithro | 20:06 | |
*** tansell_laptop has joined #melange | 21:24 | |
*** tansell-laptop has quit IRC | 21:36 | |
*** ankitg has joined #melange | 21:41 | |
*** arvind_khadri has quit IRC | 22:05 | |
*** forever has joined #melange | 23:03 | |
*** tansell--laptop has joined #melange | 23:16 | |
*** tansell_laptop has quit IRC | 23:18 | |
*** forever has quit IRC | 23:56 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!