Learning how to use the Extract Interface Technique
Published February 22nd, 2010 Under Coding | Leave a Comment
In this episode we are going to take a look at another refactoring technique, the Extract Interface technique. This technique allows you to extract an interface from a class in order to break your concrete dependencies. By doing this you can provide yourself with better testing support as well as a better layer of abstractions.
http://www.dimecasts.net/Content/WatchEpisode/163
How Do I Refactor my Code in Visual Studio?
Published January 14th, 2010 Under Coding | Leave a Comment
These two videos show how to use the refactoring tools in Visual Studio.
TDD in a Desgin by Contract World
Published November 2nd, 2009 Under General | Leave a Comment
After presenting some basics of Design by Contract using Microsoft’s SpecSharp framework, Greg Young explains how we can keep the Test First mentality in a Contract First world.
http://www.infoq.com/presentations/TDD-in-a-DbC-World-Greg-Young
Test Driving GUI with Approval Tests
Published October 30th, 2009 Under Open Source Tools, Software Testing, User Interface | Leave a Comment
This video shows why you want to write unit tests for the perspectives of specifications, feedback, regression & granularity. Then write a GUI in C# using Windows Forms & Approval Tests. ApprovalTests is an open source tool that supports C#, Java, Ruby for unit or acceptance tests.
The Synergy of Code Contracts and Pex
Published August 26th, 2009 Under Coding, Open Source Tools, Software Testing | Leave a Comment
Manuel Fähndrich and Peli de Halleux sit down for a quick coding session that shows how to use Code Contracts and Pex together. Code Contracts can be used to specify what your code should do, they get turned into runtime checks which Pex can analyze and try to find counter-examples for. This was a fun session with Manuel and really shows the synergy of the two tools/approaches.
keep looking »