Run unit tests on dynamically created DLL
问题 I am thinking on how to implement this , and seems like my knowledge is too poor to understand the implementation. I have a code that compiles source code to DLL. Then I need somehow to run Unit test on this Dll , and check 3-4 methods inside. I am trying to run unit tests this way. CompilerResults compileResults = codeProvider.CompileAssemblyFromSource(compilerParameters, new string[] { sourceCode }); Assembly myAssembly = compileResults.CompiledAssembly; TestPackage testPackage = new