lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Building automated test cases


From: Kieran Mansley
Subject: Re: [lwip-users] Building automated test cases
Date: Mon, 31 Mar 2008 08:49:17 +0100

On Sun, 2008-03-30 at 12:10 +0200, address@hidden wrote:
> Personally, I think unit tests are a good idea to ensure changes in some 
> area of the code don't break other areas. And of course the tests can be 
> put into a different directory (even accessing static variables - e.g. 
> the ARP table in etharp.c - can be achieved outside of the original code 
> files).
> 
> But _if_ we include tests, we would have to make sure everyone really 
> uses them (and runs them before making big changes etc.). If they are 
> not used often, they aren't worth much. In other words, I think the 
> project leader should ensure they don't get forgotten ;-)

I agree!  Oh wait, you mean me?  Ahem.  I'll do my best.

Unit tests are an excellent idea, and I'd welcome any attempt to get
them working.  We perhaps need to give some consideration to how fine-
grained the tests should be, but as a start I guess doing it per-
protocol as suggested would be OK.

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]