Category Archives: Test

Loadtesting with Powershell

Our product is in the acceptance testing phase. In the assigned environment the available tooling is very limited. But we must do a loadtest to report on the average requests / second our webservice can handle from a single client. … Continue reading

Posted in Test | Tagged , , | Leave a comment

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