Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Custom Test Type - FileNotFoundException thrown on test execution

$
0
0

Hi,

I have implemented a custom test type and deployed it on my machine. The test type loads tests from dll files. When I load a project with relevant tests my tests are displayed in visual studio's test view.

When I try to execute the tests they fail with a not executed status.

During debuggin I see that the reason the tests are failing is since I get a TargetInvocationException with an InnerException of FileNotFoundException that tells me that QTAgent32.exe cannot find my test dll.

By the way, if I simply copy the test dll to the VS2010 PrivateAssemblies directory the elements pass. I can also debug my test adapter if I attach to the QTAgent32.exe process. So my question is how can I hint QTAgent32.exe to find my test elements on the original location of the test dll?

ikasovitch


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>