On Wed, 25 Jun 2008, yangyang@xxxxxxxxx wrote:
hi
2)I use glib's Testing, but documentation is missing. There was no guide for how to set up your own project to use the glib testing framework or higher level overview of setup/teardown, available asserts, running, parameters, etc.
Quick Guide:
http://blogs.gnome.org/timj/2008/06/24/23062008-writing-unit-tests-with-glib/
Mini HOWTO:
http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00181.html
Reference documentation:
http://library.gnome.org/devel/glib/stable/glib-Testing.html
The initial proposal provides a high level overview of the main driving
design aspects:
http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
For more general introductions to unit testing, the email recommends:
[1] "xUnit Test Patterns: Refactoring Test Code" by Gerard Meszaros.
book: http://www.amazon.com/dp/0131495054
wbesite: http://xunitpatterns.com/
(the website is really good as it described many patterns
introduced in the book)
[2] "Simple Smalltalk Testing: With Patterns" by Kent Beck.
link: http://www.xprogramming.com/testfram.htm
[3] "JUnit Test Infected: Programmers Love Writing Tests" by Eric Gamma and
Kent Beck
link: http://junit.sourceforge.net/doc/testinfected/testing.htm
(Excellent introduction to automated unit testing)
thanks
--- ciaoTJ
_______________________________________________ gtk-devel-list mailing list gtk-devel-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-devel-list