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

List:       nepomuk
Subject:    Re: [Nepomuk] Nepomuk Test Library
From:       Vishesh Handa <me () vhanda ! in>
Date:       2012-07-03 9:45:42
Message-ID: CAOPTMKDKHj4Hc_K5EW9KOkrYXc=sFT2g7KvXeV5MFOJw_pxvdw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Tue, Jul 3, 2012 at 3:02 PM, Dario Freddi <drf54321@gmail.com> wrote:

> Hey,
>
> 2012/7/1 Vishesh Handa <me@vhanda.in>:
> > 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.
>
> if you need any help with the DBus magic, I've gone through that with
> autotests in ktp-testlib and tp-qt, so feel free to shoot me a mail
>

Thanks.

Right now everything is working really well. But I will bug you if
something crops up.


>
> >
> > 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
> >
> >
> > _______________________________________________
> > Nepomuk mailing list
> > Nepomuk@kde.org
> > https://mail.kde.org/mailman/listinfo/nepomuk
> >
>



-- 
Vishesh Handa

[Attachment #5 (text/html)]

<br><br><div class="gmail_quote">On Tue, Jul 3, 2012 at 3:02 PM, Dario Freddi <span \
dir="ltr">&lt;<a href="mailto:drf54321@gmail.com" \
target="_blank">drf54321@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> Hey,<br>
<br>
2012/7/1 Vishesh Handa &lt;<a href="mailto:me@vhanda.in">me@vhanda.in</a>&gt;:<br>
<div class="im">&gt; Hey Sebastian<br>
&gt;<br>
&gt; I&#39;ve been working on a major refactoring on the Nepomuk::Resource code \
base,<br> &gt; and I realized that I was adding bugs, so I started working on unit \
tests so<br> &gt; that I could easily fix them. Unfortunately, unit testing is kinda \
hard<br> &gt; cause of the entire dbus architecture. This is where my test suite[1] \
comes<br> &gt; into play.<br>
<br>
</div>if you need any help with the DBus magic, I&#39;ve gone through that with<br>
autotests in ktp-testlib and tp-qt, so feel free to shoot me a \
mail<br></blockquote><div><br>Thanks.<br><br>Right now everything is working really \
well. But I will bug you if something crops up.<br> <br></div><blockquote \
class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">

<div class="im HOEnZb"><br>
&gt;<br>
&gt; I&#39;ve sketched out a rough plan of all the unit tests that we need to \
test<br> &gt; all the code paths, and I&#39;ve implemented some of them and \
discovered a<br> &gt; number of bugs already (with the original implementation). My \
problem is<br> &gt; that where should those tests be committed?<br>
&gt;<br>
&gt; Right now it&#39;s there in a local repo. I could push them into the test<br>
&gt; framework, but that&#39;s also in a scatch repo.<br>
&gt;<br>
&gt; Should I move my &#39;nepomuk-testlib&#39; to the playground/kdebase or should \
I<br> &gt; just add that code into nepomuk-core? That way we can have the tests in \
the<br> &gt; same code base.<br>
&gt;<br>
&gt; Any ideas?<br>
&gt;<br>
&gt; [1] <a href="http://vhanda.in/blog/2012/03/nepomuk-test-framework/" \
target="_blank">http://vhanda.in/blog/2012/03/nepomuk-test-framework/</a><br> &gt; \
--<br> &gt; Vishesh Handa<br>
&gt;<br>
&gt;<br>
</div><div class="HOEnZb"><div class="h5">&gt; \
_______________________________________________<br> &gt; Nepomuk mailing list<br>
&gt; <a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a><br>
&gt; <a href="https://mail.kde.org/mailman/listinfo/nepomuk" \
target="_blank">https://mail.kde.org/mailman/listinfo/nepomuk</a><br> &gt;<br>
</div></div></blockquote></div><br><br clear="all"><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