Tag Archives: xunit

Execute xunit tests on hosted build controller

You can use xunit to unit test on the hosted build controller by installing the xunit.runner.visualstudio package. But when the Build is done, there was an error. The testrunner tries to discover the unittests in xunit.runner.visualstudio.testadapter.dll. Why? Because it matches … Continue reading

Posted in Development | Tagged , , | 2 Comments

My Maintainable Automated UI Tests

Original post By Mehdi Khalili on 9 Oct 2013 hereI just modified it to best suit my needs. Mehdi Khalili uses Selenium webdriver to do an automated UI test. The key of the post is to see the test code … Continue reading

Posted in Test | Tagged , , , , , , , | 3 Comments

Could not find a concrete type mapped to MappingAdded

In a handler I tried to publish an event. But the exception Could not find a concrete type mapped to MappingAdded is thrown.
The problem here is that FakeDbSet uses an older version of EntityFramework. Make sure all project reference the same EntityFramework version or remove your unneeded DbContext. Continue reading

Posted in Development | Tagged , , , , , | Leave a comment

xUnit in Visual Studio

My current project requires xunit for unit testing. I’m used to mstest as it is build into visual studio, but xunit integration is transparent with the extension installed. Setup To get xUnit working with the Test explorer install the xUnit.net … Continue reading

Posted in Test | Tagged , , , , , | Leave a comment