Tag Archive | ".NET rocks"

Tags: , , , , , , , , , , , , ,

NDC 2009 Day 2

Posted on 19 June 2009 by Alexander Viken

Morning glory

Day two of NDC begins as a rainy day, but i am looking forward to getting out to Telenor Arena, Today the topics starts with issues i really care about – Test Driven Development and Unit Testing of code.

It´s a proven, working concept that increases code quality and it saves you a whole lot of money. Something that should make the TDD argument extremely easy to sell to your manager. Added benefit here is that your customer will find less errors and bugs, this makes them happy and more prone to ask for more functionality and upgrades. 

Understanding Test Driven Development with Roy Osherove

RoyOsheroveThis was a level 100 session so it was a basic intro to unit testing and TDD. If you are new to unit testing and TDD principles you should have been there. Some advice on your way as a happier coder; You should learn unit testing first, and when you know how to write tests and use unit testing frameworks you start using Test Driven Development as a development method. This makes it a lot easier for you as a developer. Also, only write tests for public methods that contain logic. Code that has public accessors and contains if statements, switches and loops etc, there is no value in testing the rest in a unit test. Continue Reading

Comments (0)

About the author, Alexander Viken
Working as Chief Mobility Consultant at Creuna Norway. I received MSFT MVP for Device Application Development in June 2010 and are interested in mobility trends, the market, technology, software development for Windows Phone, iOS and Android mostly, but not exclusively. Scrum master that fights to keep it lean.
Advertise Here

Me on Twitter