Testing framework
Ondrej Zajicek
santiago at crfreenet.org
Tue Jun 18 11:09:48 CEST 2013
On Tue, Jun 18, 2013 at 08:48:41AM +1200, Sam Russell wrote:
> Is there a set of unit tests for BIRD somewhere? I don't know where I'd
> start building them, but I'm happy to do the legwork on the coding - unit
> testing will make it a lot easier to add new modules and guarantee the
> functionality of existing ones.
There is no systematic unit test framework, there are some tests
scattered in code (like filter/test.conf or 'ifdef TEST' code in
nest/rt-fib.c). Some simple (perhaps make based?) unit testing framework
could be useful, OTOH distributed network software is pretty hard to
test by unit testing (you could test consistency of some core data
structures, but testing standards compliance for e.g. OSPF is much
harder problem).
--
Elen sila lumenn' omentielvo
Ondrej 'SanTiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20130618/98a37151/attachment-0001.asc>
More information about the Bird-users
mailing list