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.
Cannot run tests because the MSTest executable was not found
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
#1 Posted by friism Support staff on 09 Apr, 2011 03:53 AM
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 Posted by Sanjay Patel on 09 Apr, 2011 04:13 AM
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 Posted by friism Support staff on 09 Apr, 2011 04:29 AM
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.
friism closed this discussion on 21 Apr, 2011 12:47 AM.