EUnit 2.0 alpha testers wanted

Pupeno <>
Sun Apr 23 18:52:03 CEST 2006


Hello,
I've been using EUnit 2.0 quite successfully (after I've found that 
src/test.erl was the set of examples after which I could make my own tests, 
please, mention that somewhere).
I am making a behavior for a DNS server and I am writting the functions to 
parse DNS messages. I am using EUnit 2.0 to test those functions. At first it 
was very boring but now I gave it a twist: I have a small set of data that 
can generate a DNS message and I combinate it in all possible ways to 
generate a huge list of possible messages. Since tests are generated 
dynamically I generate tests for each of them.
The code for it is on:
http://software.pupeno.com/cgi-bin/darcs.cgi/Serlvers/src/gen_dns.erl?c=annotate
from 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%%%%%%%%%%%%%%%%%%% Testing %%%%%%%%%%%%%%%%%%%%%%    
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

up to 

%%%%%%%%%%%%%%%%%% Old boring tests %%%%%%%%%%%%%%%%%%%%%%%%%%%

Thank you!
-- 
Pupeno <> (http://pupeno.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060423/9348305c/attachment.bin>


More information about the erlang-questions mailing list