Skip to content
Roy Osherove
  • Home
  • Training
  • Blog
  • Videos
  • String Calculator Kata
  • Recommended Books
  • Contact
  • About (opens in a new tab)
  • Sites by Roy
    • Courses
    • The Art of Unit Testing
    • 5 Whys
    • Elastic Leadership
    • Pipeline Driven
    • RobotPaper.ai
    • RobotPaper Podcasts
Home/Blog/2009

DateTime.LastYear

By Roy Osherove May 22, 2009 In Agile, Unit Testing

Markdown version

Historical article · Originally published May 22, 2009; technical details may be outdated.

Oh, didn’t I mention we can now fake DateTime.Now in unit tests?

← Older · May 20, 2009Art Of Unit Testing (The Samurai Book)– Get it now, it’s done.
Newer · May 23, 2009 →Testing that an event was raised

More in Agile

All posts in Agile
  • May 23, 2009

    SilverUnit Project Template and new version

  • May 23, 2009

    Testing that an event was raised

  • May 20, 2009

    Art Of Unit Testing (The Samurai Book)– Get it now, it’s done.

  • May 19, 2009

    Introducing Typemock Racer 1.0 – Find multithreaded deadlocks

The archive

  • All posts by year
  • Categories
  • Search titles
  • Videos
  • RSS feed

Years

  • 2023
  • 2021
  • 2020
  • 2019
  • 2017
  • 2016
  • 2015
  • 2014
  • 2013
  • 2012
  • 2011
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • 2004
  • 2003

Work with Roy

  • Training options
  • String Calculator Kata
  • Contact
Roy Osherove

Engineering practices, XP & leadership: consulting and training. Author of The Art of Unit Testing and Elastic Leadership.

Work with Roy

  • Training options
  • TDD training
  • Team leadership training
  • Enterprise DevOps training
  • Contact

Practice

  • String Calculator Kata
  • More TDD katas
  • Tools
  • Recommended books

Books

  • The Art of Unit Testing
  • Elastic Leadership
  • Co-Ops: Pipeline Driven Organizations
  • The 5 Whys blog

Elsewhere

  • RobotPaper.ai
  • Enterprise DevOps

Sites by Roy

  • Roy Osherove (this site)
  • Courses
  • The Art of Unit Testing
  • 5 Whys
  • Elastic Leadership
  • Pipeline Driven
  • RobotPaper.ai
  • RobotPaper Podcasts

© Roy Osherove · Content licensed CC BY 4.0

  • X / Twitter
  • YouTube
  • GitHub