[PATCH 0/3] Resubmit - Unit test framework for Wayland

Eoff, Ullysses A ullysses.a.eoff at intel.com
Fri Mar 2 09:37:43 PST 2012

>-----Original Message-----
>From: Chris Morgan [mailto:chmorgan at gmail.com]
>Sent: Friday, March 02, 2012 7:50 AM
>To: Kristian Høgsberg
>Cc: Michael Hasselmann; wayland-devel at lists.freedesktop.org; Eoff, Ullysses
>Subject: Re: [PATCH 0/3] Resubmit - Unit test framework for Wayland
>2012/3/2 Kristian Høgsberg <krh at bitplanet.net>:
>> On Fri, Mar 2, 2012 at 9:30 AM, Chris Morgan <chmorgan at gmail.com>
>>>> I found that a good testing framework can lower the barrier of writing
>>>> useful tests. Nice logging and status reports are important I feel. And
>>>> if for example you can easily write data driven tests, then testing all
>>>> possible code paths in a critical area becomes straight-forward and the
>>>> tests will remain readable (and with that, maintainable; people tend
>>>> forget that every test also adds to the overall maintenance costs which
>>>> can often enough outweight the benefits of the test). It's actually the
>>>> one thing I really like about Qt's testlib.
>>> +1 for leveraging a framework instead of writing another one :-)
>> Sorry, this is not helpful.  If you have a point to make that's not
>> already covered in the thread, please do.  But if you want to +1
>> something, go use Google+, they're big on that.
>> Kristian
>Just saying that I've written a ton of nunit unit tests for projects
>and I've found that particular framework to be very useful in
>separating out the tests, reporting results etc. I've gone the write
>my own way before and it wasn't as productive.

I totally agree, Chris.  Writing our own framework has a huge cost to


More information about the wayland-devel mailing list