Search The Blog
About this site

@RoyOsherove

Subscribe!

This site aims to connect all the dots of my online activities - from tools, books blogs and twitter accounts, to upcoming conferences, engagements and user group talks.

from 5whys.com
Twitter: @RoyOsherove
My Book: The Art of Unit Testing
Latest Posts
« TDD Master Class Day # 3 – “What I learned today” | Main | One Free Ticket to my UK TDD Master class »
Tuesday
Aug252009

TDD Course Day 2 – “What I Learned Today”

Here’s what people at my course in Norway had to say at the end of the day to the question “Tell me one thing you “got” today “:

  • Lambda expressions (many of the isolation frameworks require heavy use of Lambda Expressions)
  • Stub vs. Mock – the differences
  • The different isolation frameworks (Isolator, Rhino Mock, Moq)
  • How to Fake methods on classes
  • Faking static methods (using Isolator, and refactoring)
  • How to fake stuff in general
  • Learned i have a lot to learn
  • How to use moq
  • How to test classes with many dependencies
  • Test first actually works! (many felt today that writing the test first was just “automatic” without any thought – and really helped)
  • Why good test naming is important (also helps direct you when you are “lost” in the test
  • Design by contract removes waiting for other teams in the company

PrintView Printer Friendly Version

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>