[Nepomuk] broken unittests

Vishesh Handa me at vhanda.in
Sun Aug 5 10:08:41 UTC 2012


On Sun, Aug 5, 2012 at 5:17 PM, David Faure <faure at kde.org> wrote:

> On Friday 03 August 2012 16:34:23 Vishesh Handa wrote:
> > I know
> >
> > These tests are a pain to maintain cause they used to check the string
> > value of the queries. One of my commits broke them. I'm in the process of
> > writing new tests which actually runt the queries and test them properly.
>
> Thanks.
>
> If these new tests will take time to write, or won't go into kdelibs-4.9-
> branch, please use QEXPECT_FAIL there so that the unittests are green
> again.
> As all books on the topic say: unittests should always be green. Known
> failures should be marked as such, or fixed, obviously.
>

Oh. I generally write failing unit tests as a kind of TODO list. I'll mark
them with QEXPECT_FAIL.


> --
> David Faure, faure at kde.org, http://www.davidfaure.fr
> Sponsored by Nokia to work on KDE, incl. KDE Frameworks 5
>
>


-- 
Vishesh Handa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120805/939b709f/attachment.html>


More information about the Nepomuk mailing list