lastcraft 0 Newbie Poster

Hi...

I'm trying to get a few people to try out a new C unit tester called Cgreen. It's published on Sourceforge at http://sourceforge.net/projects/cgreen/ and at http://www.lastcraft.com/cgreen.php. basically I'm after feedback before pushing for a stable release. It's currently a late alpha.

Besides the usual X-unit features (setup/teardown, composite suites), it has the usual C testing feature of running each test in a separate process. The only really new idea is function mocking...

void my_callback(int i, char *s) {
    mock(i, s);
}

void a_test_expecting_a_single_call() {
    expect(my_callback, want(i, 3), want_string(s, "hello"));
    ...
}

Just initially need people to try it out and tell me if I'm on the right track. Later I am hoping to share development as I already have quite a few SF projects to maintain :(.

yours, Marcus

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.