From koffice-devel Tue Sep 14 17:36:51 2004 From: Thomas Zander Date: Tue, 14 Sep 2004 17:36:51 +0000 To: koffice-devel Subject: Re: koffice/kspread/tests Message-Id: <20040914173651.GA6110 () factotummedia ! nl> X-MARC-Message: https://marc.info/?l=koffice-devel&m=109518345711468 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0452309542==" --===============0452309542== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 14, 2004 at 07:23:10PM +0200, Ariya Hidayat wrote: >=20 > >So; you should write a test and include the test-data with that test, wh= ich > >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. >=20 > This does make sense. Any way, in case a document breaks a test, then if= =20 > that test is good, it should be detected earlier with its own test data,= =20 > 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! --=20 Thomas Zander --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBRywzCojCW6H2z/QRAu/yAKC1CBoJbw6Owm+meCx0seAIAeU00QCfdjPr de3uFtakz66Bv/OqCkE+OhM= =9JW+ -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+-- --===============0452309542== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============0452309542==--