Wednesday, 2013-07-10

*** tpb has joined #gst-switch00:00
*** CarlFK has quit IRC01:15
*** iiie has quit IRC01:38
*** mithro-work has joined #gst-switch02:01
*** mithro-work has joined #gst-switch02:08
*** mithro has joined #gst-switch02:23
*** CarlFK has joined #gst-switch02:27
*** hyades has joined #gst-switch03:18
*** hyades has quit IRC03:37
*** mithro has quit IRC07:12
*** mithro has joined #gst-switch07:12
*** parx has left #gst-switch07:25
*** hyades has joined #gst-switch12:53
*** mithro has quit IRC12:54
*** tpb` has joined #gst-switch13:22
*** tpb` is now known as tpb13:22
hyades<mithro-work> I don't see why not13:46
hyadeswas this for me?13:46
mithro-workhyades, yes13:46
mithro-workyou can use py.test everywhere if you want13:47
hyadesk..cool13:47
mithro-workbut make sure you don't put your unittests and integration tests in the same file13:47
mithro-workyou could use nose13:47
mithro-workor some other runner13:47
hyadesi understood what these tests unittests and integration are theoretically, but how exactly do you unittest  for a class like Preview without using others?13:50
hyades?ping13:54
*** CarlFK has quit IRC13:57
*** CarlFK has joined #gst-switch14:04
*** hyades_ has joined #gst-switch14:21
hyades_mithro-work, in your email you said You need an unit test test suite. With unit tests will need you to mock/stub out the dbus connection because the automated test suite shouldn't depend on starting/stopping the server.14:22
hyades_I exactly does this work14:22
hyades_I/how14:22
mithro-workyou know what a mock is?14:22
hyades_ya14:22
hyades_something w/o actual working code14:23
mithro-workso rather then talking to actually dbus14:23
mithro-workyou use something like pymock to create a fake dbus14:23
mithro-workand then test how your code responds to various dbus stuff14:23
*** hyades has quit IRC14:24
hyades_and server running and ending is also mocked?14:25
*** hyades_ is now known as hyades14:25
mithro-workpossibly14:26
hyadesso pymock is mainly used along with py.test for unittests whereas py.test only for integration tests14:27
mithro-workso you understand that unittests are about testing small bits of code14:28
*** mithro has joined #gst-switch14:28
hyadesis there any project which uses something similar for testing?14:30
hyadesit will help me learn a bit quickly14:30
*** tpb has joined #gst-switch14:56
*** rajaniemi.freenode.net sets mode: +ns 14:56
*** services. sets mode: -o tpb14:56
-rajaniemi.freenode.net- *** Notice -- TS for #gst-switch changed from 1373468208 to 136014943114:56
*** services. sets mode: +ct-s 14:56
*** ChanServ has joined #gst-switch14:56
*** services. sets mode: +o ChanServ14:56
*** mithro has joined #gst-switch15:04
*** hyades has joined #gst-switch15:04
*** CarlFK has joined #gst-switch15:04
*** mithro-work has joined #gst-switch15:04
*** iiie2 has joined #gst-switch15:04
*** rajaniemi.freenode.net changes topic to "Please also join #timvideos | Code - https://github.com/timvideos/gst-switch | For important discussions use mailing lists: https://groups.google.com/group/gst-switch || Logs at http://logs.timvideos.us/%23gst-switch/"15:04
*** ChanServ has left #gst-switch15:04
*** tpb` has joined #gst-switch15:26
*** tpb has quit IRC15:32
*** tpb` is now known as tpb15:32
*** iiie has joined #gst-switch16:04
*** parx has joined #gst-switch16:39
*** hyades has quit IRC17:36
*** hyades has joined #gst-switch17:55
*** hyades has quit IRC18:15
*** parx has quit IRC19:54
*** parx has joined #gst-switch19:58
*** parx has quit IRC20:04
*** parx has joined #gst-switch20:04
*** CarlFK has quit IRC20:55
*** mithro-work has quit IRC21:07
*** tpb has joined #gst-switch21:11
*** CarlFK has joined #gst-switch21:34
*** CarlFK has quit IRC21:47
*** CarlFK has joined #gst-switch22:00
*** CarlFK has quit IRC22:08
*** iiie has quit IRC23:36
*** CarlFK has joined #gst-switch23:53

Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!