How to unit test configs
Posted
by ForeverDebugging
on Stack Overflow
See other posts from Stack Overflow
or by ForeverDebugging
Published on 2010-03-12T08:03:54Z
Indexed on
2010/03/12
8:07 UTC
Read the original article
Hit count: 239
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.
© Stack Overflow or respective owner