csharp Archive

Behavior-Driven Development in the Real World

Behavior-Driven Development is more than a technique for creating and organizing unit tests. It is also a wonderful way to communicate with customers and users about the software being created. This video demonstrates some techniques and tools

How Do I Refactor my Code in Visual Studio?

These two videos show how to use the refactoring tools in Visual Studio. Video Part 1 Video Part 2

TDD in a Desgin by Contract World

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

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

The Synergy of Code Contracts and Pex

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