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: santi...@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."
signature.asc
Description: Digital signature