ANNOUNCE: Cutter-0.2.0 released
[Posted December 3, 2007 by cook]
| From: |
| Hiroyuki Ikezoe <poincare-AT-ikezoe.net> |
| To: |
| gnome-announce-list-AT-gnome.org, desktop-devel-list-AT-gnome.org |
| Subject: |
| ANNOUNCE: Cutter-0.2.0 released |
| Date: |
| Thu, 29 Nov 2007 14:17:47 +0900 |
| Message-ID: |
| <1196313467.6793.52.camel@localhost> |
| Cc: |
| Kouhei Sutou <kou-AT-cozmixng.org> |
I am pleased to introduce the first release of Cutter. Cutter is a Uit
Testing Framework for C. It aims to write test without redundant
procedures.
It loads shared object file and invoke functions that start with "test_"
in the shared object one after the other. You do not need to write
XX_register_test() or something complicated functions. setup() and
teardown() are also loaded from the shared object and invoke before and
after running each test respectively.
The following is a very simple code.
#include <cutter.h>
void test_strstr(void);
void
setup (void)
{
/* prepare something */
}
void
teardown (void)
{
/* clean up something */
}
void
test_strstr(void)
{
cut_assert_equal_string("sub-string",
strstr("string sub-string", "sub"));
}
Read documents on web site[1] for more detail.
The source code is avairable at SF.net[2].
[1] http://cutter.sourceforge.net/
[2]
http://sourceforge.net/project/showfiles.php?group_id=208...
Thank you,
--
Hiroyuki Ikezoe
_______________________________________________
gnome-announce-list mailing list
gnome-announce-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-announce-list
(
Log in to post comments)