About
This blog is mostly about my work, but expect an occasional home project, productivity tip and tooling review.Search
Categories
- Conference (20)
- Development (208)
- Security (17)
- Test (32)
- Tooling (166)
- Uncategorized (168)
Most used tags
Tag Archives: fakes
Microsoft Fakes misbehave on buildserver
We use Microsoft Fakes to isolate some legacy code. Today I added some tests that passed on my machine, but failed on the buildserver. 😦 After reading this stackoverflow post I added the and the builds became green again 😉
Be careful when using mocked repository
One of the software development best practices is to use interfaces and dependency injection. But be careful when using a mocked version of your repository. With FakeDbSet an InMemory IDbSet can be created for unit testing purposes. During setup you’d … Continue reading
Week roundup
Last week recap and links: Creating Help Pages for ASP.NET Web API, this is awesome, using MVC for documenting itself Using Stubs and Shims to Test with Microsoft Fakes, just before the conclusion he shows the fakes.xml syntax, didn’t knew … Continue reading
Posted in Uncategorized
Tagged asp.net, azure, fakes, mvc, roundup, web performance, webapi
Leave a comment
Week roundup
Last week recap and links: Using Fusion Log Viewer to Debug Obscure Loader Errors, by Scott Hanselman SETUP FOR TESTING JS WITH JASMINE, KARMA & PHANTOMJS AND BROWSERSTACK (ANGULARJS), not my cup of tea but always nice to see someone … Continue reading
Posted in Uncategorized
Tagged angularjs, browserstack, fakes, fuslogvw, jasmine, karma, phantomjs, roundup
Leave a comment
Visual Studio Shims and Fakes
Microsoft Visual Studio 2013 includes Fakes (Premium and above) to isolate existing code. This involves intercepting calls to the framework and rerouting them to Shims. These Shims are created by right clicking a reference and selecting “Add Fakes Assembly”. But … Continue reading