skaliber / mb-unit

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

Gallio ignores all tests and test fixtures when using Icarus or visual studio plugin #734

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Unsure how I managed to get into this state.  Other developers in my group do 
not have this issue.  I've uninstalled both resharper and gallio multiple 
times.  I've also tried to remove all traces of gallio off my machine after 
uninstalling, to no avail.  No matter what i do running Icarus or unit tests 
out of visual studio via the plugin results in none of our tests/test fixtures 
being run showing the reason:

IgnoreReason: This test is not supported by any available test framework.

This test is not supported by any available test framework.

I have MBUnit 2.4 installed as well as NUnit 2.4.1 installed as well.  I 
removed mbunit 2.4 and this did not help.  

I can run our unit tests using cmd line (Gallio.Echo.exe) and all tests are run 
as expected.

What is the expected output? What do you see instead?
Other developers on my team do not see this issue, and can run all the tests in 
our test harness.

What version of the product are you using? On what operating system?
3.2 build 601, also seen on 3.2 build 517

Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel
Microsoft .NET Framework
Version 4.0.30319 RTMRel

Installed Version: Professional

Microsoft Office Developer Tools   01018-532-2002181-70533
Microsoft Office Developer Tools

Microsoft Visual Basic 2010   01018-532-2002181-70533
Microsoft Visual Basic 2010

Microsoft Visual C# 2010   01018-532-2002181-70533
Microsoft Visual C# 2010

Microsoft Visual C++ 2010   01018-532-2002181-70533
Microsoft Visual C++ 2010

Microsoft Visual F# 2010   01018-532-2002181-70533
Microsoft Visual F# 2010

Microsoft Visual Studio 2010 Team Explorer   01018-532-2002181-70533
Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010   01018-532-2002181-70533
Microsoft Visual Web Developer 2010

Crystal Reports Templates for Microsoft Visual Studio 2010   
Crystal Reports Templates for Microsoft Visual Studio 2010

Gallio   Version 3.2 build 601
Gallio integration for Visual Studio

JetBrains ReSharper 5.1   C# Edition build 5.1.1751.8 on 2010-08-31T14:34:58
JetBrains ReSharper 5.1 package for Microsoft Visual Studio. For more 
information about ReSharper, visit http://www.jetbrains.com/resharper/. 
Copyright © 2003–2010 JetBrains, Inc.

Microsoft Visual Studio 2010 SharePoint Developer Tools   10.0.30319
Microsoft Visual Studio 2010 SharePoint Developer Tools

Please provide any additional information below.

Original issue reported on code.google.com by monkey.s...@gmail.com on 24 Sep 2010 at 12:24

GoogleCodeExporter commented 8 years ago
Running individual test files from cmd line also results in same problem:

Gallio Echo - Version 3.2 build 601
Get the latest version at http://www.gallio.org/

Start time: 10:42 AM
Initializing the runtime and loading plugins.
Verifying test files.
Initializing the test runner.
Running the tests.
[warning] File 'AlphaNumericComparerTestFixture.cs' is not supported by any inst
alled test framework.  It will be ignored.
        Location: C:\source\reporter\test\Test.Pason\AlphaNumericComparerTestFix
ture.cs
[ignored] Unsupported AlphaNumericComparerTestFixture.cs
This test is not supported by any available test framework.

Disposing the test runner.
Stop time: 10:42 AM (Total execution time: 0.385 seconds)

0 run, 0 passed, 0 failed, 0 inconclusive, 1 skipped (1 ignored)

Original comment by monkey.s...@gmail.com on 24 Sep 2010 at 4:44

GoogleCodeExporter commented 8 years ago
It seems the reason I can run the entire test harness via command line is 
because it seems to work fine when targeting specific dll's:

Gallio.Echo.exe /r:IsolatedAppDomain /rt:Html /rt:XML /rd:. /rnf:UnitTestOutput 
Test.Pason.Reporter.Platform\bin\Debug\*.dll

But whatever Icarus does to run specific files in the test harness seems to be 
broken for me.

Original comment by monkey.s...@gmail.com on 24 Sep 2010 at 4:58