Skip to content

John Plummer . com

Stuff I want to remember

  • About
  • Contact

Category: Methodology

TDD, BDD, DDD etc.

Fakes, Mocks, and Stubs, What’s the Difference?

It doesn’t take much unit testing before you come across a dependency in the class you are testing for another object. Hopefully your classes are loosely coupled and you are able to make a substitution for this other object. It seems most people call these substitute objects mocks but a mock is a specific thing. […]

Read More…

April 24, 2010 JohnNo Comments

Entity Classes, IDs and Equality

I want my entity classes to rely on their ID when checking equality, the ID is populated from the repository when I retrieve an object and automatically generated when I save a new entity. This poses the problem of how I compare two entities before they have been saved while working with them in my […]

Read More…

April 22, 2010December 6, 2011 John3 Comments

Recent Posts

  • Moving Plists Between Macs
  • Javascript imports and exports
  • What is Lambda Calculus
  • VS Code as a markdown editor
  • Why Measure Dev Team Productivity?

Tags

.Net Ajax Bdd Blueprint Config Current Version Databases Default View Dependencies Feature View Footer Bar Gems Heroku Honest Description Implementation Instance Methods Interface irb Lt Mac Mvc3 Namespaces Nunit Os X Preference Product Controller Project Root Rake Razor Repository Rerun Roots Ruby Ruby and Rails Ruby On Rails Running Scripts Sql Databases Sql Server Stack Using Visual Studio Vim Visual Studio Vm Wordpress

Archives

  • May 2022
  • June 2018
  • May 2018
  • October 2015
  • September 2015
  • October 2014
  • September 2014
  • May 2014
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • October 2011
  • June 2011
  • May 2011
  • April 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • April 2010
  • January 2010
  • July 2008
  • July 2007
  • June 2007