Sign in
|
Join
Patrick Steele's .NET Blog
Implements ICodeWithDotNet
This Blog
Home
Contact
About
Syndication
RSS
Atom
Search
Go
Tags
.NET
ActiveRecord
Android
ASP.NET MVC
Automapper
Bitbucket
Blackberry
Blogging
CodeMash
Day of .NET
Evernote
GANG
GiveCamp
IntelliJ
IOC
Java
LINQ
Log4Net
Mercurial
Mocking
MonoRail
Project Euler
QA
Resharper
Rhino.Mocks
Ruby
Silverlight
SRT
Tablet PC
UnitTesting
Visual Studio
WPF
Navigation
Home
Blogs
Archives
January 2012 (2)
July 2011 (1)
June 2011 (3)
May 2011 (1)
April 2011 (1)
March 2011 (3)
February 2011 (4)
January 2011 (2)
November 2010 (1)
August 2010 (1)
June 2010 (2)
May 2010 (5)
April 2010 (2)
March 2010 (1)
February 2010 (3)
January 2010 (6)
December 2009 (2)
November 2009 (3)
October 2009 (3)
September 2009 (4)
August 2009 (4)
July 2009 (4)
June 2009 (4)
May 2009 (5)
April 2009 (5)
February 2009 (9)
January 2009 (6)
December 2008 (5)
November 2008 (8)
October 2008 (8)
September 2008 (7)
August 2008 (4)
July 2008 (4)
June 2008 (1)
May 2008 (6)
April 2008 (10)
February 2008 (1)
January 2008 (13)
November 2007 (1)
October 2007 (2)
September 2007 (11)
August 2007 (2)
July 2007 (3)
May 2007 (2)
March 2007 (11)
February 2007 (9)
January 2007 (33)
November 2006 (6)
October 2006 (3)
September 2006 (13)
August 2006 (3)
July 2006 (4)
June 2006 (1)
May 2006 (1)
April 2006 (2)
March 2006 (6)
February 2006 (4)
November 2005 (1)
October 2005 (2)
September 2005 (4)
August 2005 (1)
July 2005 (1)
June 2005 (2)
May 2005 (5)
April 2005 (6)
March 2005 (6)
February 2005 (7)
January 2005 (4)
December 2004 (11)
November 2004 (4)
September 2004 (15)
August 2004 (1)
July 2004 (4)
June 2004 (7)
May 2004 (7)
April 2004 (7)
March 2004 (5)
February 2004 (12)
January 2004 (11)
December 2003 (4)
November 2003 (2)
October 2003 (14)
September 2003 (16)
August 2003 (2)
July 2003 (13)
June 2003 (19)
May 2003 (11)
Published Articles
COM Interop Exposed
COM Interop Exposed - Part 2
Browse by Tags
All Tags
»
UnitTesting
(
RSS
)
.NET
ASP.NET MVC
Day of .NET
IOC
LINQ
Mercurial
Mocking
MonoRail
Visual Studio
Tuesday, January 24, 2012 10:32 PM
Using hg bisect to hunt down bugs
The “bisect” command in Mercurial (git has it too) is a great way to quickly find which version of your code introduced a bug. This post will show you how to use the bisect command along with handling a small “gotcha” I encountered while using it...
Posted by
PSteele
|
1 comment(s)
Filed under:
UnitTesting
,
Mercurial
Thursday, June 16, 2011 11:57 AM
HOWTO: Change which “.testsettings” file Visual Stuido 2010 uses
I’m blogging this mainly for historical reasons. I just spent over 30 minutes trying to figure this out. Well, the first 10 or 15 minutes was getting code coverage enabled in Visual Studio 2010. There’s plenty of coverage on that topic...
Posted by
PSteele
|
1 comment(s)
Filed under:
.NET
,
UnitTesting
,
Visual Studio
Monday, May 24, 2010 9:56 AM
Updates to Nino’s .hgignore files for Visual Studio
As I move more of my repositories from SVN to Mercurial , I’m constantly referring to Nino’s sample .hgignore file he provided for Visual Studio developers. I always start with his file but add a few more lines and thought I’d share them here. ...
Posted by
PSteele
|
2 comment(s)
Filed under:
.NET
,
UnitTesting
,
Visual Studio
,
Mercurial
Friday, May 21, 2010 4:32 PM
Verbosity Isn’t Always a Bad Thing
There was a message posted to the Rhino.Mocks forums yesterday about verifying a single parameter of a method that accepted 5 parameters. The code looked like this: [TestMethod] public void ShouldCallTheAvanceServiceWithTheAValidGuid() {...
Posted by
PSteele
|
1 comment(s)
Filed under:
.NET
,
UnitTesting
,
Mocking
Thursday, April 01, 2010 1:11 PM
Talks Submitted for Ann Arbor Day of .NET 2010
Just submitted my session abstracts for Ann Arbor's Day of .NET 2010 . Getting up to speed with .NET 3.5 -- Just in time for 4.0! Yes, C# 4.0 is just around the corner. But if you haven't had the chance to use C# 3.5 extensively, this session...
Posted by
PSteele
|
1 comment(s)
Filed under:
.NET
,
UnitTesting
,
LINQ
,
Day of .NET
,
Mocking
,
IOC
Friday, October 02, 2009 5:41 PM
Unit Tests and Debug.Assert()
I recently found some code that had a couple of issues: There was a try/catch block that did a "catch(Exception e)". And no, it didn't rethrow the exception. See item #2. Inside the exception handler, it had the following code: catch...
Posted by
PSteele
|
4 comment(s)
Filed under:
.NET
,
UnitTesting
Friday, August 28, 2009 5:41 PM
Enabling Windsor Integration in MonoRail
I recently wanted to take on old MonoRail application and update it to use Windsor for dependency injection (DI). The application stated as a sort of prototype and slowing grew into a decent sized application. There's a couple of places that...
Posted by
PSteele
|
1 comment(s)
Filed under:
.NET
,
MonoRail
,
UnitTesting
Sunday, August 23, 2009 6:37 PM
ASP.NET MVC + MVC Contrib + Unit Testing
One of the key benefits of the MVC (Model View Controller) pattern is a separation of concerns that leads to better testability. Microsoft recognizes this and will automatically create a separate MS Test project when creating a new ASP.NET MVC solution...
Posted by
PSteele
|
6 comment(s)
Filed under:
.NET
,
UnitTesting
,
ASP.NET MVC
Monday, November 24, 2008 8:31 PM
Verifying collections/arrays in MS Unit Testing
If you're using Microsoft's unit testing framework that is built in to VS2008 (and some VS2005 SKU's), you're probably aware of the Assert class. You use that a lot to make assertions on properties and return values to determine if your unit test...
Posted by
PSteele
|
4 comment(s)
Filed under:
.NET
,
UnitTesting
More Posts