Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

Not sure about tests as such, but you can use tools like Puppet (http://puppetlabs.com/) 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
add comment

Your Answer

 
discard

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.