On 3/30/08, Frédéric BERNON <[EMAIL PROTECTED]> wrote:
> So, perhaps can you provide a test for any small part of lwIP? Next, is
>  "check" the best tool for such automated test cases ? What are the others
>  products like that ?
>

The check framework supports forking every test case, which means that
while(1) loops and segfaults wont stop running all tests. Forking can
also be turned off for debugging. With forking turned off it may even
be possible to run tests on target for some OSes. I have not looked
into other frameworks, but here is a list:
http://www.opensourcetesting.org/unit_c.php

At my company we use a simple build bot that after each commit runs
all tests and sends emails to the group when things break. This
asserts that they are not forgotten :)

We have found that communication protocol implementations are very
suitable for unit tests because you have a layered design and usually
very clear requirements how it should work.

I will create a example test case now and send it in later.

/Erik


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to