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 (175)
- Uncategorized (168)
Category Archives: Test
Visual Studio Load Test with fiddler
In Visual Studio you add a new Web Performance Test and Internet Explorer opens with the plugin to record the traffic. But what if you want to use another client that not lives in the browser like a Desktop App? … Continue reading
Posted in Test
Tagged extraction rule, Fiddler, internet explorer, Loadtest, vs2012, web performance, web test
7 Comments
Test async webservice call with a Task
We have a number of services in our project. Our clients include WPF, iOS, Android and Web. To have the best interoperability we communicate over http and expose WSDL for proxy generation. This means we cannot change the contracts or … Continue reading
Implement Interface as virtual methods
A best pratice in Object Oriented Programming is the use of Interfaces. When applied correctly it simplifies unit testing. But watch out for the pitfall of default implementation by Visual Studio. Below is an example how this can bite you. … Continue reading
AmbiguousMatchException on mock creation
See simple code below of ClassToTest with two public constructors with one parameter. My favorite mocking framework (Rhino Mocks) is unable to determine which constructor to use for mocking. The CreatePartialMock method throws an AmbiguousMatchException. The workaround for this is … Continue reading
Run unit tests in 64-bit
Some unit tests fail since my “upgrade” to Windows 8 64 bit coming from a 32 bit installation. The exception is shown below System.BadImageFormatException: Could not load file or assembly ‘XXX SQLite’ or one of its dependencies. An attempt was … Continue reading