Every other week, someone asks how to use the new unit testing framework in GLib (released with GLib-2.16.0) and Gtk+ (to be released with the next stable). First, here is a write-up from last December that summarizes all important aspects: Test Framework Mini Tutorial. For people building packages that use the new framework, the following new Makefile rules will be of interest: make test Run all tests recursively from $(TEST_PROGS), abort on first error. make test-report Run all tests recursively, continue on errors and generate test-report.xml. make perf-report Run all tests recursively, enable performance tests (this usually takes significantly longer), continue on errors, generate perf-report.xml. make full-report Run all tests recursively, enable performance tests, enable slow (thorough) tests, continue on errors, generate full-report.xml. make check Run make test in addition to automake checks. After GUADEC, we will be looking into getting build machines setup that'll regularly bui More
2011-06-07