Re: [xml] Working on standalone regression testing
- From: Stefan Kost <ensonic hora-obscura de>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] Working on standalone regression testing
- Date: Tue, 28 Jun 2005 14:11:34 +0200
Hi Daniel,
I didn't posted about it so far, but I'm working on building a
standalone C application (runtest.c) which does the equivalent of most
of the "make tests" regression tests by calling directly the libxml2
C API. This should help asserting libxml2 QA on non-Unix platforms,
for existing installations, and build regression testing infrastructures.
two notes for that. Do you know the check project [3]. I use this unit-test
suite in my projects. One good thing is the sandbox. That is it runs tests in a
sandbox (fork) and if one test crashes, the other tests continue to run.
The second is more a recommendation. On the recent GUADEC I demonstrated how to
run gcov+lcov [3] together with unit-tests [1]. This gives you a pretty html
report [2] about how much of the actual code is covered by the tests.
Ciao
Stefan
[1] our presentation about unit testing:
http://www.buzztard.org/files/guadec2005_advanced_unit_testing.pdf
[2] a sample coverage report
http://www.buzztard.org/reports/coverage/index.html
[3] the check unit testing framework
http://check.sf.net/
[4] the lcov report generator
http://sourceforge.net/projects/ltp/
--
http://www.buzztard.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]