Gobject unit test library

From Buzztrax

Jump to: navigation, search

The main idea is to wrap all of check into a nice gobject style library. The OO design should be alike to JUnit or XUnit.

related projects

[junit] [gunit]

ideas

  • put each suite into a library and scan for public symbols matching certain naming to build the suite automatically

naming

  • already taken: gunit
  • free: gcheck

class design

junit

  • TestCase
    • has setUp() and tearDown()
    • test-methods start with 'test' in their name
  • TestSuite
    • has run() and add() methods
    • aggregate TestCases and TestSuites
  • TestRunner
    • runs a TestSuite
    • does result logging
Support Us

Collaboration

GStreamer Logo
Become a Friend of GNOME
Linux Sound Logo
MediaWiki
Valgrind
GNU Library Public Licence
GNU Free Documentation License 1.2