[OPEN-ILS-DEV] OpenSRF - C Unit Testing

Kevin Beswick kevinbeswick00 at gmail.com
Mon Apr 11 12:10:11 EDT 2011


Hello,

Attached is a patch which puts a C unit testing framework in place for
OpenSRF, as well as a bunch of tests for libopensrf. The unit testing
framework is called "Check" - http://check.sourceforge.net/

These tests can be executed by running 'make check' after you
configure and compile the OpenSRF code.

To run them, you must have the 'check' package installed. I have added
an entry for Debian based OSes into Makefile.install, and would
appreciate if anyone running other distros can add the appropriate
entries for those as well.

For more information on the framework, check out the Check manual at
http://check.sourceforge.net/doc/check_html/index.html. Also I will
soon create a Unit Testing area on the wiki with info about unit
testing in Evergreen/OpenSRF.

Kevin Beswick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensrf_c_unit_testing.patch
Type: text/x-patch
Size: 68806 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20110411/6b71428b/attachment-0001.bin 


More information about the Open-ils-dev mailing list