Sign In
Progressive Development
Zany Adventures in Software Engineering with Maven and Motley
Tags
About
agile
assertions
build
change
checklists
code comments
code coverage
code reviews
debugger
debugging
design
design by contract
estimation
general programming
HPT
interviewing
lean
legacy code
management
meetings
mock objects
people
personal vision
presentations
productivity
project management
quality
refactoring
root cause analysis
scrum
static analysis
supportability
TDD
teams
test
test-driven development
tools
unit testing
values
vision/mission
Browse by Tags
MSDN Blogs
>
Progressive Development
>
All Tags
>
mock objects
Tagged Content List
Blog Post:
Motley says: "If-then-else hooks are the best way to inject mock objects"
James Waletzky
Summary Motley: A simple if-then-else hook is the simplest and best way to inject a mock object. Maven: First, you have to design to interfaces. Then, techniques like dependency injection, factories, and endo-testing are more effective ways to inject mock objects. ______________________________...
on
14 Aug 2007
Blog Post:
Motley says: "The only thing I'm going to mock is you"
James Waletzky
Summary Motley: I can't mock something that I have no control over (like third-party or old legacy code) Maven: Design to interfaces, create a wrapper, and use tools for mocking. These are all great practices for leveraging mock objects. ______________________________ [Context: Motley...
on
7 Aug 2007
Blog Post:
Motley says: "Unit tests take too long to execute, so don't bother"
James Waletzky
Summary Motley: Unit tests take too long to execute. I'm not going to bother. Maven: Unit tests need to run quickly - you need to execute them frequently. Mock objects can help. ______________________________ [Context: Motley has been writing unit tests for a couple of days, but...
on
4 Apr 2007
Page 1 of 1 (3 items)