[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Unit tests for busybox
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2013-11-20 12:56:23
Message-ID: CAK1hOcPpj=DD9354RXaaiYRBpewfr1hKG2dfsN8cTuEgK5D93A () mail ! gmail ! com
[Download RAW message or body]

On Tue, Nov 19, 2013 at 1:58 PM, Bartosz Go=B3aszewski
<bartekgola@gmail.com> wrote:
> 2013/11/5 Bartosz Go=B3aszewski <bartekgola@gmail.com>:
>> Anyway, what do you think about the unit tests then?
>
> Any comments?

I think it's best to keep tests in the same source files where
tested function is. This way it's easier to see when
the test needs to be tweaked when API is changed.
This may also be the only way to test static functions.

-- =

vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic