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:
| Updated: May 7 at 9:45 AM by RainerQ | Created: May 7 at 9:45 AM by RainerQ
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
Id #9940 | Release:
| Updated: Mar 26 at 5:51 PM by meghma | Created: Mar 19 at 5:20 PM by meghma
UPDATE: This issue has been moved to GitHub
According to the wiki page titled How To Use MSBuild, one can use markup similar to the following to get xUnit MsBuild support.
Id #9939 | Release:
| Updated: Jan 30 at 5:26 PM by RobV8R | Created: Jan 25 at 10:28 PM by RobV8R
I don't see xUnit test in Test Explorer in VS 2012. I have installed
xUnit.net: runner &
here is my test
public class MyClass
public void MyTest()
Id #9938 | Release:
| Updated: Jan 15 at 7:15 PM by bartelink | Created: Jan 15 at 3:44 AM by joblot
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:
| Updated: Oct 30, 2014 at 9:35 AM by bartelink | Created: Oct 29, 2014 at 5:08 PM by CodingYoshi
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:
| Updated: Jan 9 at 12:34 PM by bartelink | Created: Oct 29, 2014 at 7:47 AM by eddiesholl
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
Id #9935 | Release:
| Updated: Oct 9, 2014 at 12:50 PM by bartelink | Created: Oct 9, 2014 at 11:43 AM by Blotto09
See s/o question: http://stackoverflow.com/questions/26184327/unit-test-keep-running-in-test-explorer-even-after-timeout-excedded
Id #9934 | Release:
| Updated: Oct 5, 2014 at 10:13 AM by robi_y | Created: Oct 5, 2014 at 10:13 AM by robi_y
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:
| Updated: May 7 at 8:34 AM by JohnTunnicliffe | Created: Sep 2, 2014 at 9:45 PM by schallm
It would be nice if the http://xunit.codeplex.com/wikipage?title=HowToUse page would include nuget instructions.
Id #9932 | Release:
| Updated: Sep 2, 2014 at 6:45 PM by schallm | Created: Sep 2, 2014 at 6:45 PM by schallm