How to unit test configs
- by ForeverDebugging
We're working with some very large config files which contain lots of Unity and WCF configuration.
When we open some of these configs in the SVC config editor or even try to open a web application using these configs, we recieve errors showing any typos or errors. E.g. a WCF binding is invalid or does not exist etc, or a configuration section does not exist, two endding tags, etc.
Is there some way to "valid" a config through a unit test? So there's one less thing which could go wrong when the application is moved into a new environment.