[parted-devel] Darcs repository up to date

Otavio Salvador otavio at debian.org
Sat Nov 11 13:26:48 CET 2006


"Debarshi 'Rishi' Ray" <debarshi.ray at gmail.com> writes:

>> > Here's my list for 2.0:
>> >
>> <...>
>> >     - testing framework
>
>> Have you played with any unittesting library?
>
> I have played with unit-testing on Python, not on C.

I've played on Python and Ruby.

Checking what there's available for C I found "Check"[1][2]. It looks
interesting for me. 

1. http://check.sourceforge.net/
2. http://check.sourceforge.net/doc/check.html/Test-a-Little.html#Test-a-Little

We'll need to write some special things for our use while building
tests, something like:

 - an easy way to make a loopback device for use;
 - an easy way to simulate a filesystem on loopback;

Specially the last is interesting, for example, for the linux-swap
code that's being developed to be tested.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
 you the whole house."



More information about the parted-devel mailing list