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)
Most used tags
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
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 azure, Loadtest, powershell, quality, roundup, unittest, visual studio online
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
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
How to convince developers and managers to do TDD
Questions and answers when introducing test driven development Continue reading