Bitstructures

xUnit Test Patterns @ XPToronto

Alistair McKinnell and Jason Cheong-Kee-You gave an excellent talk on xUnit Test Patterns at XPToronto last night. The presentation included a discussion of Gerard Meszaros’s test philosophy framework:

  • Test First or Last?
  • Tests or Examples?
  • Test-by-Test or All-At-Once?
  • Outside-In or Inside-Out?
  • State or Behavior Verification?
  • Fixture Design Up Front or Test-by-Test?

For illustration, Alistair and Jason worked through the development of a set of JUnit tests in a session of pair programming. They worked: Test First, Test-by-Test, Inside-Out, Behavior Verification.

About me

Simon Bates is a software developer living and working in Toronto.

Colophon

Created with Jekyll.