When I first start test-driven development, I got in trouble. Assembly that I was developing used a configuration file named ‘app.config’. However, whenever I tested the functionality of my assembly, it seems that it never found ‘app.config’. After searching a lot of web sites, I was able to find a solution.
Recently I am wondering that how to test an assembly using different configuration files.
It’s not easy, even if it seems not.