Are the test sources included in the plugin? And if so, how do i execute the tests?
Am 06.08.2010 02:00 schrieb "Tobi" listaccount@e-tobi.net:
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
_______________________________________________ vdr mailing list vdr@linuxtv.org http://www.linuxtv...