I'm trying to get my WATIN tests to work in TFS2008 (continuous integration) as part of a nightly build.
All tests work fine on my local machine (from VS2008), and my unit tests (non-watin) work great locally, as well as in TFS.
to illustrate what we're doing I've got a simple test:
[TestMethod]
public void Watin()
{
//set up stuff
browser.GoTo("http://localhost/");
}
When running the test in TFS, this causes the following error:
TestTypes\37e36796-fb51-4610-8d5c-e00ceaa68b9f could not be loaded because the TIP could not be instantiated for the following reason(s): System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
When searching the net for similar problems, I'm led to believe that this is a problem with the TFS version which we're using - but I'm not sure. We're using TFS 2008 Developer Edition / VS2008 Developer Edition
We tried downloading the TFS suite trial, which contains the DLL in question. We've copied the WebLoadTest.Tip file to the global assembly cache of the TFS server (just to see if that would fix the problem). That did result in making the error go away, but unfortunately it produced a new one:
MSBUILD : warning MSB6006: "MSTest.exe" exited with code 1.
Is the only way around this problem upgrading to the Suite edition? That seems a bit rigorous.
Any help is appreciated!
edit: what I don't understand is that it seems to require the WebLoadTest functionality of TFS, even though we're not explicitly calling it. Instead we're using Watin, which is a third party framework. I don't think that Watin has any webloadtest dependencies either.