[R] Test suites
Spencer Graves
spencer.graves at pdf.com
Mon Feb 24 22:00:04 CET 2003
"all.equal" described in Venables and Ripley (MASS, 4th ed., p. 49, and
S Programming, p. 21) is useful. (The index entry in "S Programming is
off by 1 page.)
Hope this helps.
Spencer Graves
Giles Heywood wrote:
> I have a collection of functions, class definitions and methods which I
> would like to test systematically for their correctness after changes to
> their code, and also after major R revisions. I believe that the correct
> term for these systematic tests (as opposed to more informal tests) is a
> 'test suite'. Does anyone [apart from Pat Burns :-) ] have code, or
> templates, or specific suggestions for the best approach to constructing
> test suites?
>
> Thanks in advance
>
> Giles Heywood
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
More information about the R-help
mailing list