Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Cannot run tests because the MSTest executable was not found

Hi,
This is my first deployment to the AppHarbor and I am getting error - "Cannot run tests because the MSTest executable was not found" during execution of the unit tests. I have included MSTest.exe file in my lib directory, however I am not sure how App Harbor will find it, is there any environment variable I need to set in order to execute MSTests? Thanks in advance.

  1. I've just tried to push an example MSTest project, and the tests run fine. The example code is here: https://github.com/appharbor/AppHarbor-SQLServerCEUnitTesting-Sample

    Are you doing anything markedly different?

  2. I am not doing anything special, its a standard MS Test project. First time I tried to build, I got error about missing Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll assembly, so I included that into my lib. What components are required on the build machine to enable MSTest execution? I have attached my test project's proj file, I dont see anything different though.

  3. MSTest should work out of the box. You can clone the example and see how it works. It doesn't reference a local lib-version of UnitTestFramework, but that is probably a good idea.

  4. friism closed this discussion on 21 Apr, 2011 12:47 AM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac