ANNOUNCE: Cutter-0.2.0 released



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=208375&package_id=249756&release_id=557813


Thank you,

-- 
Hiroyuki Ikezoe



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]