Re: Mock Testing of Grilo Plugins
- From: Bastien Nocera <hadess hadess net>
- To: Mathias Hasselmann <mathias openismus com>
- Cc: grilo-list gnome org
- Subject: Re: Mock Testing of Grilo Plugins
- Date: Fri, 03 Aug 2012 12:08:53 +0100
On Thu, 2012-07-26 at 13:49 +0200, Mathias Hasselmann wrote:
> Am Donnerstag, den 26.07.2012, 07:55 +0000 schrieb mail jensge org:
> > Since GrlNetWc is kind-of abstract wrt get_url_now which has two
> > implementations, soup-stable and soup-unstable, we could perhaps link
> > a special test net lib and simply add a third one, "mock" which is
> > only used in the (in-tree) tests.
>
> This is pretty cool. Comes close to what I had in mind with the third
> approach ("custom, static request handler"). So let's take that route?
Using compile-time option seems that it would just make testing harder.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]