ReSharper Ninja tricks - Generate code from usage

Create class from usage

Following test-driven development I often define my unwritten classes by first using it in a unit test. I then use Create class and Create method or property to generate the code from usage. As the class gets created in the same file as the unit test I use Move to folder to put the class in the production code assembly. Namespaces and using statements are fixed automatically. [More]

Unit testing continuously

ncrunch.net

The foundation for all solid professional software development in my opinion is good craftsmanship practices and the most important of them is unit testing. Unit testing continuously is a practice and tool support for running unit tests in the background as you code. The foundation for all solid pro... [More]

TDD Kata 2 - Interaction based testing

tdd-kata-2

TDD Katas has become very popular in a small segment of the development community and we call our se TDD Katas has become very popular in a small segment of the development community and we call our selves software craftsmen. We are passionate about software development as a craft and engage in diff... [More]

Prime Factors Kata in C#

The Prime Factors Kata, initially sparked by the infamous Uncle Bob Martin, is about finding an arbitrary number’s prime factors. This is my attempt to show what you can do with the C# language in terms of dynamism and when you know the frameworks really well. Are you new to the concept of code kata... [More]

ReSharper templates from the Code Kata Cast

resharper import template

After I posted my Code Kata Cast I received some feedback regarding the ReSharper templates I use to speed up my coding. I decided to share them with the public. After I posted my Code Kata Cast I received some feedback regarding the ReSharper templates I use to speed up my coding. I decided to shar... [More]

Code Kata Cast

You learn how to implement a solution to a specific problem and you practice over and over again to better yourself as a programmer. Have you ever come across the concept of a Code Kata? For me it really took off after reading blog posts (1, 2, 3) by Unce Bob Martin and Pragmatic Programmer Dave Tho... [More]

TDD Masterclass in the UK with Roy Osherove

Roy Osherove is giving an hands-on TDD Masterclass in the UK, September 21-25. Roy is author of "The Roy Osherove is giving an hands-on TDD Masterclass in the UK, September 21-25. Roy is author of "The Art of Unit Testing" (http://www.artofunittesting.com/), a leading tdd & unit testing book; he... [More]

The Humble dialog v.2

multiple dialogs

Download source: TheHumbleDialog2.zip (30KB) I've been working to get my head around the Model-View- Download source: TheHumbleDialog2.zip (30KB) I've been working to get my head around the Model-View-Presenter pattern and I've focused primarily on a Winforms scenario. As it turns out there are nume... [More]

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.