lishijie211 / mb-unit

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

Error execuating MSTest from Gallio via Sonar. #883

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I am invoking Gallio via Sonar in order to execute MSTest.

What is the expected output? What do you see instead?
I get an I/O error. Even though the file in question is available within the 
environment (server) in which I executing MS Test.
What version of the product are you using? On what operating system?
Win Server 2008 64bit.
Sonar 2.12
Ecosystem 1.2 plugins.
Gallio 3.3.1 x64 
opencover.3.0.121
VS 2010 Ultimate (fxCop and MS Test) 
Please provide any additional information below.
14:54:32.679 INFO  Initializing the test runner.
14:54:32.688 INFO  Running the tests.
14:54:34.020 INFO  A fatal exception occurred while running tests.  Possible 
causes include invalid test runner parameters and stack overflows.
14:54:34.074 INFO       Gallio.Model.ModelException: An exception occurred 
while invoking a test driver. ---> Gallio.Model.ModelException: 
System.IO.FileNotFoundException: Could not load file or assembly 
'Microsoft.VisualStudio.TestTools.UI
Testing, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or 
one of its dependencies. The system cannot find the file specified.. The system 
cannot find the file specified.

Original issue reported on code.google.com by salman.h...@gmail.com on 27 Mar 2012 at 7:50

GoogleCodeExporter commented 9 years ago
I have the same error ..... any issue ?

Original comment by gag....@gmail.com on 2 Apr 2013 at 10:49

GoogleCodeExporter commented 9 years ago
I have the same issue when using Visual Studio 2012

Original comment by derek.j....@gmail.com on 29 Jun 2013 at 1:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have the same issue can this be fixed please?

Original comment by steven.9...@gmail.com on 17 Sep 2013 at 11:08

GoogleCodeExporter commented 9 years ago
Visual Studio 2013 Ultimate
SONAR 3.7.3
Sonar-runner 2.2.2
OpenCover 4.5.1313 
GallioBundle-3.4.14.0 

Here is the error I get.

13:12:52.818 INFO  - [error] Assembly *****.Tests
13:12:52.818 INFO  - Cannot run tests because the MSTest executable was not 
found

Original comment by kishornp...@gmail.com on 29 Dec 2013 at 3:35

GoogleCodeExporter commented 9 years ago
Here at Ancestry.com we are implementing Sonar across the company. Gallio not 
supporting VS2012 tests is a non starter for most teams. Some have converted to 
Nunit and found that Gallio doesn't support Nunit 2.6.3 either....
So no support for latest of MsTest and Nunit is a big deal don't you think ??

What is the timeline for this to be addressed?  What would it take to get it 
expedited.

Original comment by DougHar...@gmail.com on 10 Feb 2014 at 9:02

GoogleCodeExporter commented 9 years ago
I have also spent a lot of time wondering why is not Gallio getting this fixed.

Meanwhile do refer to Issue # 899, solution outlined there worked for me. It is 
a workaround but works.

We have started internal effort to update MSTest extension to work it for VS 
2013.

Original comment by kishornp...@gmail.com on 12 Feb 2014 at 4:57