octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More accurate test coverage statistics


From: Rik
Subject: More accurate test coverage statistics
Date: Sun, 10 Apr 2011 13:35:12 -0700

4/10/11

All,

After running 'make check' I get

544 (of 864) .m files have no tests.

but this really overestimates the problem.  Many of the '.m' files in the
list shouldn't be counted as

1) They are plot-related and can't be tested with conventional %!test blocks.

2) They are deprecated functions not worth spending limited coder
development time on.

3) They are private helper functions whose behavior is tested implicitly by
the functions which call them.

Is there any objection to excluding these files from the list and thereby
narrowing it to files which actually do need work?

I propose to count files with %!demo blocks as having tests, and ignoring
files in either the deprecated/ or private/ directories.

--Rik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]