[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 14:59:03
Message-ID: 20040914145903.GC3204 () factotummedia ! nl
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tue, Sep 14, 2004 at 04:50:16PM +0200, Ariya Hidayat wrote:
> 
> >As far as I have understood, this code has i18n entries. But is it really 
> >useful to translate internal tests?
> 
> I think so. Imagine when one developer can ask the user to activate the 
> test and sees where it fails, then it may help troubleshooting.
> 
> But if you think this is unnecessary, I can always get rid of it.

Then the concept of 'tests' is a bit silly;  the input of the user or the
input in the current document should have nothing to do with the passing or
failing of the test.
ALL the information for the test should be hardcoded in the test, in order
to let it be as small of a unit (to test) as possible.
This also makes coding the actual test a LOT simpler (as no code has to
be written validating the input) which allows you to write many little
tests.

A test should in the best case not even be shipped to the user.
-- 
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