Unit tests for busybox

Denys Vlasenko vda.linux at googlemail.com
Wed Nov 20 12:56:23 UTC 2013


On Tue, Nov 19, 2013 at 1:58 PM, Bartosz Gołaszewski
<bartekgola at gmail.com> wrote:
> 2013/11/5 Bartosz Gołaszewski <bartekgola at 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


More information about the busybox mailing list