STAFact Attribut can not be resolved

Hi I try to write a unit test, which needs to create a WPF control. The tests fails with the error "Thread must be a STA-Tread". I tried to add the [STAFact] attribute to the testmethod, but V...

Id #9941 | Release: None | Updated: May 7 at 9:45 AM by RainerQ | Created: May 7 at 9:45 AM by RainerQ

Testing an assembly built against 'v2.0.50727' of the runtime

I have a dll under test that would typlically use App.config from the exe that is using it. e.g. the app config has <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version...

Id #9940 | Release: None | Updated: Mar 26 at 5:51 PM by meghma | Created: Mar 19 at 5:20 PM by meghma

Add msbuild targets file to xUnit NuGet package

UPDATE: This issue has been moved to GitHub Problem According to the wiki page titled How To Use MSBuild, one can use markup similar to the following to get xUnit MsBuild support. <Project Defaul...

Id #9939 | Release: None | Updated: Jan 30 at 5:26 PM by RobV8R | Created: Jan 25 at 10:28 PM by RobV8R

xUnit test in VS 2012

I don't see xUnit test in Test Explorer in VS 2012. I have installed xUnit.net: runner & xUnit.net here is my test public class MyClass { [Fact] public void MyTest() { Assert.Equal(4, 2+...

Id #9938 | Release: None | Updated: Jan 15 at 7:15 PM by bartelink | Created: Jan 15 at 3:44 AM by joblot

Run code before and after ALL tests

Any update whether this is possible now? Here you mentioned it will be done in release 2.0. If this is done, please provide an example on how to achieve this.

Id #9937 | Release: None | Updated: Oct 30, 2014 at 9:35 AM by bartelink | Created: Oct 29, 2014 at 5:08 PM by CodingYoshi

Discovery failing with vstest.console.exe

I'm not able to use the xUnit test adapter to discover tests when running as part of vstest.console.exe. I've got this all working fine on several dev boxes, but I'm not able to get our CI boxes to...

Id #9936 | Release: None | Updated: Jan 9 at 12:34 PM by bartelink | Created: Oct 29, 2014 at 7:47 AM by eddiesholl

Console output counts wrong

When running tests, the console output has a wrong total number of tests. . . . Tests complete: 113 of 115 Tests complete: 114 of 115 Tests complete: 115 of 115 Tests complete: 116 of 115 Tests com...

Id #9935 | Release: None | Updated: Oct 9, 2014 at 12:50 PM by bartelink | Created: Oct 9, 2014 at 11:43 AM by Blotto09

Tests with timeout attribute do not finish in TestExplorer

See s/o question: http://stackoverflow.com/questions/26184327/unit-test-keep-running-in-test-explorer-even-after-timeout-excedded

Id #9934 | Release: None | Updated: Oct 5, 2014 at 10:13 AM by robi_y | Created: Oct 5, 2014 at 10:13 AM by robi_y

xUnit 2.x replacement for IUseFixture

I need to initialize my database for a bunch of tests and want to do that once for ALL my tests. It looks like for version 1.x, I would accomplish this with IUseFixture. However, IUseFixture seem...

Id #9933 | Release: None | Updated: May 7 at 8:34 AM by JohnTunnicliffe | Created: Sep 2, 2014 at 9:45 PM by schallm

Update "How To Use" page with Nuget

It would be nice if the http://xunit.codeplex.com/wikipage?title=HowToUse page would include nuget instructions.

Id #9932 | Release: None | Updated: Sep 2, 2014 at 6:45 PM by schallm | Created: Sep 2, 2014 at 6:45 PM by schallm