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

Bill Erickson erickson at esilibrary.com
Thu Apr 14 15:14:56 EDT 2011


Kevin,

This is great stuff.  I'm not (yet) familiar with Check, but the approach
looks sane and I like the unit tests.  (I'd say the fact that 95% of the
patch is actually unit test code is a really good sign).  I hope to apply
the patch soon and take it for a spin.

kbeswick++

-b

On Mon, Apr 11, 2011 at 12:10 PM, Kevin Beswick <kevinbeswick00 at gmail.com>wrote:

> 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/i
> kbeswick++
>
> -b
>
> <http://check.sourceforge.net/doc/check_html/index.html>
> On Mon, Apr 11, 2011 at 12:10 PM, Kevin Beswick <kevinbeswick00 at gmail.com>wrote:
>
>> Hello,
>
> ndex.html <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
>



-- 
Bill Erickson
| VP, Software Development & Integration
| Equinox Software, Inc. / Your Library's Guide to Open Source
| phone: 877-OPEN-ILS (673-6457)
| email: erickson at esilibrary.com
| web: http://esilibrary.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20110414/ddb1630a/attachment.htm 


More information about the Open-ils-dev mailing list