Re: Tests for the root framework

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Wed, 01 Mar 2006 15:38:47 -0600


Hi Daniele,

We absolutely agree that having a test framework is essential to our development. For this purpose we have a separate cvs module (roottest, see http://root.cern.ch/viewcvs/?cvsroot=TEST).

We attempt to add as many test as possible and made the framwork so that it is trivial to add new test (see the README in roottest).

> The easy solutin to the situation is to have unit tests that cover
> all the functionalities of root and run them often on the development trunk.

The part that is not easy in the case of ROOT is the 'all the functionality'. The phase space of the cases we have need to test is quasy illimited since we are supporting any (almost :) ) arbitrary C++ structure.

So we do as much as possible and welcome in additional help in developing further the test suite.

Thanks for your input.
Philippe.

> Hello. I'm following the mailing list since one year or more and i'm
> reading a lot of bug reports that can be described as regressions on
> precedent behaviour of the framework. Since root is supposed to be a
> reliable data analysis system i think is very bad to have such bugs
> pop out now and then.
>
> The easy solutin to the situation is to have unit tests that cover all
> the functionalities of root and run them often on the development
> trunk.The best would be to run them after each commit. Looking
> quickly through
> the code i was not able to find any test of the root functionality but
> the examples that imho does not represent a good way of testing.
>
> I'm a python programmer and in python therea re plenty of test
> frameworks and i love test driven programming. what the other think
> about that?
>
> Ciao
> --
> Daniele
>
> Physics is like sex. Sure, it may give some practical results, but
> that's not why we do it. -- Richard P. Feynman
>
>
Received on Wed Mar 01 2006 - 22:38:52 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET