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
Testing Against The Current Time
Posted
over 6 years ago
by
ploeh
6
Comments
This is the third in a small series of posts about testing against non-determinism. In this installation, I'm going to cover how to deal with the current time or date. If you have logic that is dependent of the current time or date, test results will...
ploeh blog
Reasons For Isolation
Posted
over 6 years ago
by
ploeh
5
Comments
Object-oriented applications above some level of complexity are almost always modelled as a layered architecture. While the typical three-layer architecture remains the most widely known, n-layer architecture is also often utilized. Here's a typical design...
ploeh blog
Code As Dependency Configuration
Posted
over 6 years ago
by
ploeh
13
Comments
In his article on Inversion of Control and Dependency Injection , Martin Fowler has a quite interesting section towards the end where he talks about how to configure loosely coupled systems. One of his points is that in some cases, it makes more sense...
ploeh blog
Testing Against Non-Determinism
Posted
over 6 years ago
by
ploeh
4
Comments
Although computers tend to be rather deterministic in nature, you will sometimes have to deal with concepts that are de-facto non-deterministic. These include, but are not limited to: Random numbers. These are typically generated by a random number...
ploeh blog
Authorizing Services
Posted
over 6 years ago
by
ploeh
4
Comments
If you look at the default authorization model for WCF, you will notice that it expects you to implement centralized authorization. While centralized and pluggable authentication makes a lot of sense to me, that's not the case with authorization. Does...
ploeh blog
Testing Against The Passage of Time
Posted
over 6 years ago
by
ploeh
7
Comments
This is the fourth in a small series of posts about testing against non-determinism. In this installation, I'm going to cover the passage of time. In my former post , I demonstrated how you can use the Provider Injection pattern to decouple your test...
ploeh blog
Testing Against Randomness
Posted
over 6 years ago
by
ploeh
1
Comments
This is the first in a small series of posts about testing against non-determinism. In this installation, I'm going to cover randomness. When code paths are selected at random, the outcome of a unit test may not be deterministic. Consider this example...
ploeh blog
Testing Against Guids
Posted
over 6 years ago
by
ploeh
5
Comments
This is the second in a small series of posts about testing against non-determinism. In this installation, I'm going to cover Guids. Despite sharing some similarities with random numbers, Guids actually turn out to be a lot less difficult to use in...
Page 1 of 1 (8 items)