CppStars / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Gaillo MSTest.exce missing, failing to run tests. #929

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I have a .Net project and I am trying to included my unit test on Sonar. When I 
run sonar-runner it execute successfully but it fails to run the test

What is the expected output? What do you see instead?
It is expected to run the test and produce code coverage results 

What version of the product are you using? On what operating system?
Gaillo3.4 sonar-runner2.3 OpenCover4.5 Windows8.1 

Please provide any additional information below.

This is the error receiving in the console:

Start time: 12:56 PM
Initializing the runtime and loading plugins.
Verifying test files.
Initializing the test runner.
Running the tests.
[error] Assembly SoanrUnitTests
Cannot run tests because the MSTest executable was not found

This is the sonar-proejct.proprties file 
# required metadata
sonar.projectKey=Sonar
sonar.projectName= SonarQube Runner
sonar.projectVersion=1.0

# Path to the source directories (required)
sonar.sources=.
sonar.language=cs
sonar.sourceEncoding=UTF-8

sonar.dotnet.visualstudio.solution.file=Soanr.sln
sonar.silverlight.4.mscorlib.location=C:/Program Files (x86)/Reference 

Assemblies/Microsoft/Framework/Silverlight/v4.0
sonar.dotnet.4.0.sdk.directory=C:/WIndows/Microsoft.NET/Framework/v4.0.30319
sonar.dotnet.version=4.0

# Gallio / Unit Tests
sonar.gallio.runner=IsolatedProcess
sonar.gallio.coverage.tool=OpenCover 
sonar.donet.visualstudio.testProjectPattern=*Tests;*UnitTests
sonar.opencover.installDirectory=C:/Program Files (x86)/OpenCover
sonar.dotnet.test.assemblies=CSUnitTests/bin/Release/SonarTests.dll
sonar.gallio.mode=reuseReport

I have seen other issues but It was said that the issue is fixed after 
Gallio3.2 but apparently not.

Any advice or suggestion will be appreciated 

Original issue reported on code.google.com by argtonra...@gmail.com on 13 Nov 2013 at 8:09