visual studio 2010 - configuration file to output dir when testing -
when execute tests visual studio 2010, app.config used in test not being copied folder testresults/out. icant set deployment test settings because there more 1 test project have same filename
what can solve this? there other way achieve content file deployment when running tests?
thanks in advance
it's relative simple use custom configuration file in tests. example:
/// <summary> /// summary description relatoriotest /// </summary> [testclass] [deploymentitem("dependency.config")] <- put here configuration file path. public class relatoriotest { ... }
Comments
Post a Comment