Re: Tests for the root framework

From: Christian Holm Christensen <cholm_at_nbi.dk>
Date: Thu, 02 Mar 2006 02:36:33 +0100


Hi Daniele,

On Thu, 2006-03-02 at 02:09 +0100, Daniele Nicolodi wrote:
> On Thu, Mar 02, 2006 at 01:28:34AM +0100, Christian Holm Christensen wrote:
> > Have you considered using some of the testing frameworks out there? Say
> > DejaGNU, cunit, cxxunit, and what not? For a big project like ROOT,
> > it's probably not a bad idea to use some sort of time-tested system.
>
> what i like from the python world is also what are called "doctests".
> Those are snipets of code mixed within documentation of what a
> class/module is supposed to do. A special python module is used then to
> run the cide into the documetation and check for the correct output. It
> is a very good way to document how class/modules are supposed to be used
> and keep such documentation syncked with the implementation. I don't
> know if such tools exist also for the c++ world.

Doxygen may have similar functionality.

Yours,

-- 
 ___  |  Christian Holm Christensen 
  |_| |  -------------------------------------------------------------
    | |  Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|           DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|            Denmark                    Office: (+45) 353  25 404
 ____|   Email:   cholm_at_nbi.dk               Web:    www.nbi.dk/~cholm
 | |
Received on Thu Mar 02 2006 - 02:36:43 MET

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