[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nepomuk
Subject:    [Nepomuk] Nepomuk Test Library
From:       Vishesh Handa <me () vhanda ! in>
Date:       2012-07-01 13:17:39
Message-ID: CAOPTMKDaoXso7X_uZwJKm3+8vb-aZU2FjcS5iwPJ7u3JJ1D5oQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hey Sebastian

I've been working on a major refactoring on the Nepomuk::Resource code
base, and I realized that I was adding bugs, so I started working on unit
tests so that I could easily fix them. Unfortunately, unit testing is kinda
hard cause of the entire dbus architecture. This is where my test suite[1]
comes into play.

I've sketched out a rough plan of all the unit tests that we need to test
all the code paths, and I've implemented some of them and discovered a
number of bugs already (with the original implementation). My problem is
that where should those tests be committed?

Right now it's there in a local repo. I could push them into the test
framework, but that's also in a scatch repo.

Should I move my 'nepomuk-testlib' to the playground/kdebase or should I
just add that code into nepomuk-core? That way we can have the tests in the
same code base.

Any ideas?

[1] http://vhanda.in/blog/2012/03/nepomuk-test-framework/
-- 
Vishesh Handa

[Attachment #5 (text/html)]

Hey Sebastian<br><br>I&#39;ve been working on a major refactoring on the \
Nepomuk::Resource code base, and I realized that I was adding bugs, so I started \
working on unit tests so that I could easily fix them. Unfortunately, unit testing is \
kinda hard cause of the entire dbus architecture. This is where my test suite[1] \
comes into play.<br clear="all"> <br>I&#39;ve sketched out a rough plan of all the \
unit tests that we need to test all the code paths, and I&#39;ve implemented some of \
them and discovered a number of bugs already (with the original implementation). My \
problem is that where should those tests be committed?<br> <br>Right now it&#39;s \
there in a local repo. I could push them into the test framework, but that&#39;s also \
in a scatch repo.<br><br>Should I move my &#39;nepomuk-testlib&#39; to the \
playground/kdebase or should I just add that code into nepomuk-core? That way we can \
have the tests in the same code base.<br> <br>Any ideas?<br><br>[1] <a \
href="http://vhanda.in/blog/2012/03/nepomuk-test-framework/">http://vhanda.in/blog/2012/03/nepomuk-test-framework/</a><br>-- \
<br><span style="color:rgb(192,192,192)">Vishesh Handa</span><br><br>



_______________________________________________
Nepomuk mailing list
Nepomuk@kde.org
https://mail.kde.org/mailman/listinfo/nepomuk


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic