Story Details for videos

Golf Tracker - Episode 4 - Unit Testing

kahanu
Author:
Version:
Views:
2778
Date Posted:
8/2/2011 8:09:29 PM
Date Updated:
8/2/2011 8:09:29 PM
Rating:
4/1 votes
Running Time:
14:07 minutes
Framework:
ASP.NET MVC 2
Platform:
Windows
Programming Language:
C#
Technologies:
Nunit
Tags:
unit tests, nunit, ASP.NET MVC, C#, golf, golf tracker
Demo site:
Home Page:
Share:
Downloads:

Golf Tracker - Repository Unit Testing

If you haven't heard, unit testing is very important to successful application development. 

Unit testing I consider to be an art.  Some people are experts at it, some are ignorant to it, and some like me, are just better than average at it.

Without going into too much detail about unit testing since this video doesn't cover what it is, I will say that the basic premise of unit testing is to create a test against your classes that have no dependency on anything physical such as a working database.  Everything that you test against should be either mocked or faked.  I demonstrate how to create some simple unit tests to make sure your application is working as it should.

Comments

    No comments yet.

 

User Name:
(Required)
Email:
(Required)