*** tpb has joined #gst-switch | 00:00 | |
*** CarlFK has quit IRC | 01:15 | |
*** iiie has quit IRC | 01:38 | |
*** mithro-work has joined #gst-switch | 02:01 | |
*** mithro-work has joined #gst-switch | 02:08 | |
*** mithro has joined #gst-switch | 02:23 | |
*** CarlFK has joined #gst-switch | 02:27 | |
*** hyades has joined #gst-switch | 03:18 | |
*** hyades has quit IRC | 03:37 | |
*** mithro has quit IRC | 07:12 | |
*** mithro has joined #gst-switch | 07:12 | |
*** parx has left #gst-switch | 07:25 | |
*** hyades has joined #gst-switch | 12:53 | |
*** mithro has quit IRC | 12:54 | |
*** tpb` has joined #gst-switch | 13:22 | |
*** tpb` is now known as tpb | 13:22 | |
hyades | <mithro-work> I don't see why not | 13:46 |
---|---|---|
hyades | was this for me? | 13:46 |
mithro-work | hyades, yes | 13:46 |
mithro-work | you can use py.test everywhere if you want | 13:47 |
hyades | k..cool | 13:47 |
mithro-work | but make sure you don't put your unittests and integration tests in the same file | 13:47 |
mithro-work | you could use nose | 13:47 |
mithro-work | or some other runner | 13:47 |
hyades | i 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 | ?ping | 13:54 |
*** CarlFK has quit IRC | 13:57 | |
*** CarlFK has joined #gst-switch | 14:04 | |
*** hyades_ has joined #gst-switch | 14: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 work | 14:22 |
hyades_ | I/how | 14:22 |
mithro-work | you know what a mock is? | 14:22 |
hyades_ | ya | 14:22 |
hyades_ | something w/o actual working code | 14:23 |
mithro-work | so rather then talking to actually dbus | 14:23 |
mithro-work | you use something like pymock to create a fake dbus | 14:23 |
mithro-work | and then test how your code responds to various dbus stuff | 14:23 |
*** hyades has quit IRC | 14:24 | |
hyades_ | and server running and ending is also mocked? | 14:25 |
*** hyades_ is now known as hyades | 14:25 | |
mithro-work | possibly | 14:26 |
hyades | so pymock is mainly used along with py.test for unittests whereas py.test only for integration tests | 14:27 |
mithro-work | so you understand that unittests are about testing small bits of code | 14:28 |
*** mithro has joined #gst-switch | 14:28 | |
hyades | is there any project which uses something similar for testing? | 14:30 |
hyades | it will help me learn a bit quickly | 14:30 |
*** tpb has joined #gst-switch | 14:56 | |
*** rajaniemi.freenode.net sets mode: +ns | 14:56 | |
*** services. sets mode: -o tpb | 14:56 | |
-rajaniemi.freenode.net- *** Notice -- TS for #gst-switch changed from 1373468208 to 1360149431 | 14:56 | |
*** services. sets mode: +ct-s | 14:56 | |
*** ChanServ has joined #gst-switch | 14:56 | |
*** services. sets mode: +o ChanServ | 14:56 | |
*** mithro has joined #gst-switch | 15:04 | |
*** hyades has joined #gst-switch | 15:04 | |
*** CarlFK has joined #gst-switch | 15:04 | |
*** mithro-work has joined #gst-switch | 15:04 | |
*** iiie2 has joined #gst-switch | 15: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-switch | 15:04 | |
*** tpb` has joined #gst-switch | 15:26 | |
*** tpb has quit IRC | 15:32 | |
*** tpb` is now known as tpb | 15:32 | |
*** iiie has joined #gst-switch | 16:04 | |
*** parx has joined #gst-switch | 16:39 | |
*** hyades has quit IRC | 17:36 | |
*** hyades has joined #gst-switch | 17:55 | |
*** hyades has quit IRC | 18:15 | |
*** parx has quit IRC | 19:54 | |
*** parx has joined #gst-switch | 19:58 | |
*** parx has quit IRC | 20:04 | |
*** parx has joined #gst-switch | 20:04 | |
*** CarlFK has quit IRC | 20:55 | |
*** mithro-work has quit IRC | 21:07 | |
*** tpb has joined #gst-switch | 21:11 | |
*** CarlFK has joined #gst-switch | 21:34 | |
*** CarlFK has quit IRC | 21:47 | |
*** CarlFK has joined #gst-switch | 22:00 | |
*** CarlFK has quit IRC | 22:08 | |
*** iiie has quit IRC | 23:36 | |
*** CarlFK has joined #gst-switch | 23:53 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!