Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In software development, i like to do tests. But are there any useful frameworks for automated tests for system configurations?

I think like you may be able to test a Backup-MX configuration: - whitebox test: domain should be in relay domains, domain may not be in mydestination - blackbox test: e-mail to backup-domain should be forwarded, e-mail to backup domain may not be rejected, e-mail to backup-domain may not be delivered locally.

Is there any framework for doing such tests? Of course i could grab any programming language and write unit-tests with a lot of system-calls, but there might be a helpful tool. Does anyone know such a tool?

share|improve this question

Not sure about tests as such, but you can use tools like Puppet ( to enforce a given configuration over a group of machines.

share|improve this answer
not what i really want. I want to write a Feature-Test, which verifies the Feature is configured the right way. Best Tests would be composed from two parts: white-box, testing the configuration which should be used is used, black-box, testing the configured functionality is really working as the service-user would expect it. – allo Dec 9 '11 at 9:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.