Sign in
|
Join
|
Help
in
Current Tags
Jimmy Bogard
LosTechies
(Entire Site)
Home
Merchandise
Blogs
Downloads
The Lounge
Ads by The Lounge
This Blog
Home
Contact
Syndication
RSS
Atom
Comments RSS
Recent Posts
Services in Domain-Driven Design
DDD, Repositories and ORMs
On good design and defining success
Convention, configuration and WCF
Austin DDD Book Club wrapped up
Tags
Agile
ALT.NET
altnetconf
ASP.NET
ASP.NET MVC
Austin Code Camp
Austin DDD Book Club
BDD
Behave#
Behavior-Driven Development
C#
Code smells
Continuous Integration
Design
Domain Driven Design
Domain-Driven Design
Entity Framework
Legacy Code
LINQ
LINQ to SQL
Misc
MonoRail
MSBuild
MVC
NBehave
PabloTV
Patterns
People
PTOM
Rails
Rant
Refactoring
SQL
StructureMap
TDD
Team Build
Testing
Tools
VSTS
WCF
News
Subscribe in a reader
Archives
August 2008
(8)
July 2008
(12)
June 2008
(11)
May 2008
(15)
April 2008
(10)
March 2008
(15)
February 2008
(13)
January 2008
(19)
December 2007
(9)
November 2007
(17)
October 2007
(23)
September 2007
(10)
August 2007
(11)
July 2007
(11)
June 2007
(9)
May 2007
(14)
April 2007
(7)
Jimmy Bogard
Assistant to the assistant to the regional manager
Browse by Tags
All Tags
»
Legacy Code
»
Testing
(
RSS
)
Agile
C#
TDD
Advanced mocking: auto-interaction testing
When dealing with legacy systems or those not designed with specific testability scenarios in mind, you have to test your changes in non-traditional means. In normal mocking (or test double ) scenarios, you have some kind of external dependency that you...
Posted
Mar 05 2008, 09:44 PM
by
bogardj
with | with
7 comment(s)
Filed under:
Legacy Code
,
Testing
,
TDD
Stop the madness
I've been extending a legacy codebase lately to make it a bit more testable, and a few small, bad decisions have slowed my progress immensely. One decision isn't bad in and of itself, but a small bad decision multiplied a hundred times leads to...
Posted
Nov 20 2007, 05:01 PM
by
bogardj
with | with
3 comment(s)
Filed under:
Agile
,
Legacy Code
,
Testing
A downcasting tragedy
And now, for another tale of legacy code woe, here's a gut-wrenching tragedy of OCP and downcasting , in five acts . Exposition We have a feature we're implementing that when the store's configuration settings allow for a survey link to be...
Posted
Nov 14 2007, 05:34 PM
by
bogardj
with | with
2 comment(s)
Filed under:
Legacy Code
,
Testing
Legacy code testing techniques: subclass and override non-virtual members
This post was originally published here . One of the core techniques in Michael Feathers' Working Effectively With Legacy Code is the "Subclass and Override Method" technique. Basically, in the context of a test, we can subclass a dependency...
Posted
Aug 31 2007, 03:22 PM
by
bogardj
with | with
no comments
Filed under:
Legacy Code
,
C#
,
Testing
Copyright Los Techies 2007. All rights reserved.