3 ms·
I love the g_test_* stuff in libglib. It can handle various types of tests (slow, fast, perf, etc). Runs them in sub processes. Generates reports. Easy to us
by audidude 17y ago
I love the g_test_* stuff in libglib. It can handle various types of tests (slow, fast, perf, etc). Runs them in sub processes. Generates reports. Easy to use. I also love the assertion helpers included for easy readability of the errors.
Docs: http://library.gnome.org/devel/glib/stable/glib-Testing.html http://library.gnome.org/devel/glib/stable/glib-Testing.html
Example: http://github.com/chergert/gdatetime/blob/master/gdatetime-tests.c http://github.com/chergert/gdatetime/blob/master/gdatetime-t...