Sign In
James Newkirk's Blog
Adding to the kipple... One post at a time.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
CodePlex
General
Microsoft patterns & practices
Microsoft patterns & practices
Test Driven Development
Visual Studio Team System
Archive
Archives
June 2008
(2)
April 2008
(1)
March 2008
(1)
October 2007
(1)
September 2007
(2)
June 2007
(5)
March 2007
(1)
February 2007
(3)
December 2006
(1)
November 2006
(3)
October 2006
(1)
September 2006
(3)
August 2006
(1)
June 2006
(1)
May 2006
(5)
February 2006
(1)
December 2005
(3)
September 2005
(1)
August 2005
(1)
July 2005
(6)
June 2005
(3)
April 2005
(1)
February 2005
(1)
January 2005
(5)
December 2004
(6)
November 2004
(3)
October 2004
(2)
September 2004
(2)
August 2004
(10)
July 2004
(5)
June 2004
(12)
December, 2004
MSDN Blogs
>
James Newkirk's Blog
>
December, 2004
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
James Newkirk's Blog
Bookmark Collection: Checking Input Parameters
Posted
over 8 years ago
by
jamesnewkirk
0
Comments
The tests that I am going to implement this time around have to do with the input parameters to the Add method. Both input parameters in this example cannot be null. If they are null then the Add method should throw ArgumentNullException. Here's the test...
James Newkirk's Blog
Bookmark Collection: Current progress
Posted
over 8 years ago
by
jamesnewkirk
0
Comments
When I was thinking about the next test to write I had to go back and look at the test list again. If I can't keep the thing in my head how hard must it be for everyone else? The purpose of this entry is to identify what has been completed so far and...
James Newkirk's Blog
Bookmark Collection: Retrieving a bookmark that is not in the collection
Posted
over 8 years ago
by
jamesnewkirk
2
Comments
Let's see where we were... Retrieve a Bookmark that is not in the collection, return null The test for this looks like this: [ Test ] public void RetrieveABookmarkNotInCollection() { Assert .IsNull(collection[exampleDotComLabel]); } When I run this I...
James Newkirk's Blog
Bookmark Collection: To collect or not to collect (and when)
Posted
over 8 years ago
by
jamesnewkirk
2
Comments
The next test to implement is as follows: Add a Bookmark, Retrieve using the label All the tests I wrote previously and the resulting implementation focused on whether or not the count was correct as bookmarks were added and removed from the collection...
James Newkirk's Blog
Why variables in NUnit [TestFixture] classes should be static?
Posted
over 8 years ago
by
jamesnewkirk
25
Comments
In a previous post Ben Lowery asked the question? Why is the collection in your test fixture class static? Here is the code from the previous post: [ TestFixture ] public class BookmarkCollectionFixture { private static BookmarkCollection collection;...
James Newkirk's Blog
Bookmark Collection: Adding and Removing a Bookmark - Does the Count keep up?
Posted
over 8 years ago
by
jamesnewkirk
2
Comments
I have given up apologizing for the not so weekly updates to solving this problem - just too much going on. That said; where was I? In the previous step I had refactored out the common initialization code out of each test and put this in the [SetUp] method...
Page 1 of 1 (6 items)