Tags
.NET ADO.NET AggregateException Anti-pattern asp.net ASP.NET MVC C# C# 3 Code Quality ConcurrentDictionary Conference CTP/Beta Database data design DDD DDD Scotland Debugging design patterns error handling fun Google Analytics hiring IIS Installation javascript learning LINQ object oriented design parallelisation parallelization PHP refactoring security software development practices Spatial SQL SQL Injection Attack SQL Server SQL Server 2008 unit testing virtual earth visual studio Visual Studio 2008 Windows 7 Windows VistaMay 2012 M T W T F S S « Apr 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Archives
- April 2012
- March 2012
- February 2012
- January 2012
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- March 2007
- February 2007
- December 2006
- July 2006
- April 2005
Tag Archives: unit testing
Loading coffeescript unit tests from separate files
In my previous post I showed how to create unit tests for coffeescript. I also included a link to Eli Thompson’s coffeescript unit testing runner which allows you to easily gather all the .coffee files and the unit tests together … Continue reading
Posted in Software Development
Tagged Apache, coffeescript, jQuery, qunit, unit testing
Leave a comment
Unit testing with Coffeescript
I’ve recently started looking at Coffeescript. And to get going with that I’m jumping directly in with unit-testing. I figured that it would be an interesting way to learn the language. Since coffeescript compiles to javascript, you can use a javascript unit … Continue reading
Mental Block
Today, I seem to be having a mental block while writing some unit tests. I keep writing Assert.AreSame() instead of Assert.AreEqual() and then wondering why tests are failing with bizarre message like “Expected 2, Actual 2” Just in case anyone … Continue reading
Unit Testing a Static Class
I’ve been trying to find a way to unit test a static class. That is, a class that has no instances. The problem has been that at the end of one test the class’s state could be altered which would … Continue reading
Test Driven Development By Example
Introduction A lot has been written on the subject of test driven development, and especially on the idea that tests ought to be written first. This is an ideal that I strive for, however, I have a tendency to write … Continue reading
Posted in Article, Software Development
Tagged .NET, C#, Code Quality, testing, unit testing
Leave a comment
An introduction to mock objects
Sometimes when you are unit testing you might get to a point where you say “That’s too difficult to unit test so I’m just going to leave it”. This is where mock objects come in. Mock objects are stand-in dummy … Continue reading
