[Pdns-dev] PowerDNS Unit Tests: how to contribute

bert hubert bert.hubert at netherlabs.nl
Tue May 7 14:39:01 CEST 2013


Hi everybody,

As you may know, PowerDNS runs around 2000 tests for each commit to make
sure our improvements don't break things. Of these 2000 tests (which are
actually a lower number of tests, but repeated for various scenarios),
currently around 14 are unit tests.

The 2000 scenario based tests are end-to-end, and make sure that actual
operations work as we envision them work.

The unit tests however are there to work out individual pieces of code,
preferably in ways that might trigger corner cases, cases that we might trip
over if we try to "optimize" things, for example.

Writing a unit test is a very easy way to get involved with open source
development because it does not immediately require you to understand the
full code base.

Also, with our new GitHub move, it is now easier than ever to join in! We've
described the whole process on this blog post
http://blog.powerdns.com/2013/05/07/contributing-powerdns-tests-unit-tests/
and we cordially invite you to get testing!

And remember, if you contribute a test, from now on it will run for every
new commit, and make sure PowerDNS remains as stable as it is today.

If you need a suggestion on what test to add, please feel free to contact
us or drop by on our IRC channel (see:
https://www.powerdns.com/opensource.html )

Thanks.

	Bert



More information about the Pdns-dev mailing list