Sign in
ploeh blog
Mark Seemann's discontinued .NET blog.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Component Development
Dependency Injection
Enterprise Library
Miscellaneous
Pages
Productivity
Services
Software Design
Unit Testing
Archive
Archives
February 2009
(1)
January 2009
(7)
December 2008
(6)
November 2008
(6)
October 2008
(4)
September 2008
(1)
August 2008
(2)
July 2008
(2)
June 2008
(5)
May 2008
(2)
April 2008
(3)
March 2008
(5)
February 2008
(2)
January 2008
(1)
December 2007
(2)
November 2007
(4)
October 2007
(4)
September 2007
(3)
August 2007
(4)
July 2007
(3)
June 2007
(5)
May 2007
(8)
April 2007
(5)
March 2007
(2)
February 2007
(4)
January 2007
(2)
December 2006
(4)
November 2006
(3)
October 2006
(4)
September 2006
(2)
August 2006
(5)
July 2006
(4)
June 2006
(3)
May 2006
(2)
April 2006
(1)
March 2006
(5)
February 2006
(4)
January 2006
(3)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
ploeh blog
Ignore Irrelevant Return Values
Posted
over 5 years ago
by
ploeh
1
Comments
This is an installment in my Zero-Friction TDD series. Sometimes, you don't care about the return value from a particular operation. The simplest example is if you want to check that creating a new instance of a specific type will throw an exception...
ploeh blog
Microsoft Dynamics Mobile 1.5 Released
Posted
over 5 years ago
by
ploeh
0
Comments
If you are wondering about what I'm doing these days, we (the Microsoft Dynamics Mobile Team ) just released a new version of Microsoft Dynamics Mobile ! And there was much rejoicing :)
ploeh blog
Anonymous Variables
Posted
over 5 years ago
by
ploeh
5
Comments
This post is an installment in my series on Zero-Friction TDD . Often when writing a unit test, the SUT 's API will force you to create objects that you really don't care about. As an example, take a look at the signature of this constructor: public...
ploeh blog
Naming Direct Output Variables
Posted
over 5 years ago
by
ploeh
2
Comments
In my series of Zero-Friction TDD tips and tricks, it's time to look at naming Direct Output variables. [ TestMethod ] public void DoStuffWillReturnMessage() { // Fixture setup string expectedResult = "ploeh" ; MyClass sut = new MyClass (); // Exercise...
ploeh blog
Zero-Friction TDD
Posted
over 5 years ago
by
ploeh
9
Comments
Writing good code is difficult. Unit tests are written as code, so a corollary to the first sentence is that writing good unit tests is also difficult. TDD (particularly if you interpret the last D as Design ) carries this challenge in abundance, since...
ploeh blog
Assert.Throws
Posted
over 5 years ago
by
ploeh
4
Comments
xUnit.net provides the Assert.Throws method for testing exceptions, instead of the ExpectedException attribute. In his original announcement , James Newkirk explains why this is a much better approach, and I can only agree. However, those of us that for...
Page 1 of 1 (6 items)