Singular
http://www.singular.uni-kl.de/forum/

interpreter language test code coverage
http://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2374
Page 1 of 1

Author:  jack [ Wed Apr 02, 2014 9:19 pm ]
Post subject:  interpreter language test code coverage

Hello,


is it possible to get test code coverage statistics for the Singular library code (for .lib files) ?

If not, how many effort is needed to implement this feature?



Jack

Author:  malex [ Wed Apr 09, 2014 5:24 pm ]
Post subject:  Re: interpreter language test code coverage

Clearly one needs a visited-proc/line-trace for a coverage report.
Note that if TRACE is 4 then Singular will output all the lines of visited procedures (and await <RETURN> per each line): http://www.singular.uni-kl.de/Manual/4- ... htm#SEC484

I imagine that could be a starting point for such a possibility...

ps: for internals grep 'TRACE_SHOW_'

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/