[PATCH 0/3] Resubmit - Unit test framework for Wayland
chmorgan at gmail.com
Fri Mar 2 07:49:37 PST 2012
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> wrote:
>>> 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.
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.
More information about the wayland-devel