unit testing for gnome-games



gnome-games now has initial support for unit testing,
through the Check unit testing framework:  http://check.sourceforge.net/
The command 'make check' now automatically runs the units tests.

A lot of new test cases will have to be written if this is going to be useful. I would like that new patches and bugfixes have unit tests when this is practical.

Eventually, it would be pretty useful to have code coverage reports,
such as these: http://gtktests-buildbot.fisterra.org/gnomeslave/gtk+/lcov/
That would require adding support for LTP GCOV to gnome-games.

A similar buildbot could be setup on games.gnome.org, to compile gnome-games each day, and generate test results and code coverage.

 - Andreas



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