[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Building automated test cases
From: |
Erik Ekman |
Subject: |
Re: [lwip-users] Building automated test cases |
Date: |
Mon, 31 Mar 2008 12:48:51 +0200 |
On 3/30/08, Frédéric BERNON <address@hidden> 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