[vdr] test-infrastructure
Tobi
listaccount at e-tobi.net
Fri Aug 6 01:59:23 CEST 2010
Rainer Blickle wrote:
> How do you (everyone subscribed to this list) test your developed code ?
In the Vodcatcher plugin I used CxxTest:
http://projects.vdr-developer.org/git/?p=vdr-plugin-vodcatcher.git;a=tree
TomG uses CxxTest in the Sudoku plugin as well:
http://projects.vdr-developer.org/git/?p=vdr-plugin-sudoku.git;a=tree
In general unit testing C++ code can be kinda painful compared to Nunit,
Junit or RSpec. CxxTest was the best C++ unit testing tool I could find,
but maybe there exists something better now.
Besides this you can use Valgrind to hunt down mem leaks and cppcheck for
static code analysis.
Tobias
More information about the vdr
mailing list