About
This blog is mostly about my work, but expect an occasional home project, productivity tip and tooling review.Search
Categories
- Conference (21)
- Development (217)
- Security (19)
- Test (32)
- Tooling (174)
- Uncategorized (168)
Most used tags
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
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 asp.net, coded UI test, CUIT, IISExpress, MVC4, selenium, unittest, xunit
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 .NET, Entity Framework, fakedbset, nservicebus, NuGet, xunit
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 mstest, unittest, visual studio, Visual Studio 2012, visual studio 2013, xunit
Leave a comment