Category Archives: Test

Loadtest with Azure VM

For an upcoming release we decided to do a loadtest on our Azure test environment. Until now we used a set of local machines for this. The setup uses 6 machines that host our product, which consists of a number … Continue reading

Posted in Test | Tagged , | Leave a comment

Partial subs with nsubstitute

Finally got the hang of partial s(t)ubs with nsubstitute. The key is that the original method is called when setting up the sub. To avoid this use argument matchers and the DoNotCallBase() method. Property To test/setup the property to return … Continue reading

Posted in Test | Tagged , , | 2 Comments

How to convince developers and managers to do TDD

Questions and answers when introducing test driven development Continue reading

Posted in Test | Tagged , , | Leave a comment

Why you should TDD

In a recent code review I noticed a bug that was undetected by the unit tests. Read: all tests passed, but the code was wrong. When asked the developer confessed the unit tests were created after the code was created. … Continue reading

Posted in Test | Tagged , | Leave a comment

TDD for JavaScript

My TDD workshop is a demo with Visual Studio 2012, Team Foundation Express and C#. The concept of Test Driven Development goes beyond the tooling or language. Here is a toolset to do TDD for JavaScript. The Yahoo library (YUI) … Continue reading

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