From kde-core-devel Sat Oct 06 12:10:24 2007 From: David Jarvie Date: Sat, 06 Oct 2007 12:10:24 +0000 To: kde-core-devel Subject: Re: kdelibs (at least) : test building by default Message-Id: <200710061310.24733.lists () astrojar ! org ! uk> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=119167265419920 On Saturday 06 October 2007 12:54:01 André Wöbbeking wrote: > On Saturday 06 October 2007, David Jarvie wrote: > > And some tests (e.g. in kdepimlibs/kcal) take a very long time to run > > - enough for a couple of cups of coffee. Although there is still the > > option of killing tests if they are taking too long. > > Unit tests should be fast otherwise they aren't run (often enough). The ones I refer to take a long time because they are reasonably thorough, and the functions called are quite calculation intensive. The choice is these tests, or writing tests which don't really test the code properly. I'd much rather have a thorough test even if it takes a long time, since it really does pick up errors. But there's no way many people would want to run it every time they build. -- David Jarvie. KAlarm author and maintainer. http://www.astrojar.org.uk/kalarm