google-code-export / mb-unit

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

xUnit 1.7 and newer don't work #838

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Running xUnit tests with xUnit.dll v1.7.x does not work.

Original issue reported on code.google.com by schillin...@gmail.com on 2 May 2011 at 6:57

GoogleCodeExporter commented 9 years ago

Original comment by Yann.Tre...@gmail.com on 2 May 2011 at 6:59

GoogleCodeExporter commented 9 years ago
Please try build 3.3.336 and later.

Gallio has now 2 distinct adapters for xUnit.net:
- "xUnit161" which supports xUnit.net up to v1.6.1
- "xUnitLatest" which is built against xUnit.net v1.8 but which should support 
v1.7 as well.

Original comment by Yann.Tre...@gmail.com on 5 May 2011 at 7:26

GoogleCodeExporter commented 9 years ago
Yes, now Xunit 1.7.x works.

But, I also use xunitbddextensions 
(https://github.com/BjRo/xunitbddextensions). And these tests were not 
detected: File xxx.dll is not supported by any installed test frameworks. 
Running with Xunit-Testrunner works, as well with xunit-Resharper-plugin.

I attached a small demo project containing xunitbddextension 1.5.0.2 and a 
screenshot of the results.

Original comment by schillin...@gmail.com on 6 May 2011 at 9:54

Attachments:

GoogleCodeExporter commented 9 years ago
If I reference bddextensions there is no direct reference to xunit assembly. 
Though  ReflectionUtils.FindAssemblyReference(assembly, 
XunitAssemblyDisplayName) only finds direct references. And this is not the 
fact for a framework-wrapper like bddextensions. 

This might be a general problem in detecting the unit testing framework in 
Gallio. A possible solution is described tin 
http://msdn.microsoft.com/en-us/magazine/cc163641.aspx.

Original comment by schillin...@gmail.com on 6 May 2011 at 12:42

GoogleCodeExporter commented 9 years ago

Original comment by Yann.Tre...@gmail.com on 9 May 2011 at 6:33

GoogleCodeExporter commented 9 years ago

Original comment by Yann.Tre...@gmail.com on 14 Jun 2011 at 5:48