Tag Archives: unittest

Week 35 roundup

Last week recap and links: Fun with json and trello in powershell where Jamie shows how to have fun with invoke-restmethod and some trello API stuff Xunit Test Patterns is where to look for unittest best practices. Nuget must haves … Continue reading

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

Week 34 roundup

Last week recap and links: Load Testing with Visual Studio Online is a good starting point for Cloud Load Testing Nice video about polymorph in the battle against if statements: “The Clean Code Talks” on youtube Finished the Getting Started … Continue reading

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

MSBuild OutDir per project in solution

We use a dedicated project file for building our solution/projects. The automated build sometimes complains about failing unit tests due to incompatible assembly versions. By building every project to their own OutDir we solved the issue. MSBuild tasks Install the … Continue reading

Posted in Tooling | 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