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

List:       koffice-devel
Subject:    Re: koffice/kspread/tests
From:       Thomas Zander <TZander () factotummedia ! nl>
Date:       2004-09-14 17:36:51
Message-ID: 20040914173651.GA6110 () factotummedia ! nl
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tue, Sep 14, 2004 at 07:23:10PM +0200, Ariya Hidayat wrote:
> 
> >So; you should write a test and include the test-data with that test, which
> >means you don't want to run it on the current document.
> >If another document breaks the code (but not your test) you find out what
> >data it is and create another test (with that data).
> >I hope you can use this; its the general way testing is implemented.
> 
> This does make sense. Any way, in case a document breaks a test, then if 
> that test is good, it should be detected earlier with its own test data, 
> right?

Yes, which is why many applications create extra classes for the tests and
don't link it to the end application at all.

> Except perhaps for some corner cases....

True. And you already knew I was going to answer with: "then you should
create a test with better corner cases".  So I won't answer that :)

Cheers!
-- 
Thomas Zander

[Attachment #5 (application/pgp-signature)]

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


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

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