An implementation of RFC 2426 - VCard. This groupware library will provide java applications with a way to read and write VCards from and to the VCard file format. Project goals are to provide a flexible and easy to use library with excellent docs
NaturalSpec is a .NET UnitTest framework which provides automatically testable specs in natural language.
NaturalSpec is based on NUnit and completely written in F# - but you don't have to learn F# to use it.
PCUT is a very simple framework for unit testing of C code. Unlike many other frameworks where you need to specify manually which functions belong to a particular test, PCUT provides several smart macros that hides this and lets you focus on the most important part of testing only: that is, coding
... [More] the test cases.
Tests for the standard atoi() function may look like this:
#include < pcut/pcut.h >
#include < stdlib.h >
PCUT_INIT
PCUT_TEST(atoi_zero) {
PCUT_ASSERT_INT_EQUALS(0, atoi("0"));
}
PCUT_TEST(atoi_positive) {
PCUT_ASSERT_INT_EQUALS(42, atoi("42"));
}
PCUT_TEST(atoi_negative) {
PCUT_ASSERT_INT_EQUALS(-273, atoi("-273"));
}
PCUT_MAIN() [Less]
This site uses cookies to give you the best possible experience.
By using the site, you consent to our use of cookies.
For more information, please see our
Privacy Policy