Re: unit testing for gnome-games
- From: "Robert Ancell" <robert ancell gmail com>
- To: "Andreas Røsdal" <andrearo pvv ntnu no>
- Cc: games-list gnome org
- Subject: Re: unit testing for gnome-games
- Date: Sun, 11 Feb 2007 10:57:43 +1100
Do we have a unit testing framework for Python? There are an number of
tests in glChess that need tidying up but I would be very keen for
them to be integrated into the build process so a buildbot could warn
me when I keep committing bugs :)
--Robert
On 11/02/07, Andreas Røsdal <andrearo pvv ntnu no> wrote:
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
_______________________________________________
Games-list mailing list
Games-list gnome org
http://mail.gnome.org/mailman/listinfo/games-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]