The Source for Java Technology Collaboration
User: Password:



William C. Wake

William C. Wake's Blog

Extreme Test Makeover at Agile '06

Posted by wwake on July 26, 2006 at 07:02 PM | Comments (1)

Brian Marick and I hosted "Extreme Test Makeover," where people could bring their laptops with code and tests, and have an experienced tester/programmer review them. Observations by participants:
  • Watij tests in Fit are too long/confusing to read for customer.
    • You could write it in JUnit instead of Fit
    • Break them up into small focused tests
  • Neat new delegate syntax (with .Net 2.0)
  • Descriptive variable names are good [even] for short term variables.
  • Keep tests focused on one purpose - If a test needs 3 things to work, create 3 tests
  • Generic isn't always useful.
Thanks to our participants and our experts: Bob Martin, Brian Button, Janet Gregory, JB Rainsberger, Jim Newkirk, Jim Shore, Lisa Crispin, Micah Martin, Randy Coulman, and Ward Cunningham.

Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Someone wrote to ask about the Watij tests - were they written in a style centered around domain-level actions, or using the lower-level Watij API directly? They suggest that if you build up an API suitable for your domain, you won't find the tests so long/confusing.

    Posted by: wwake on August 02, 2006 at 07:26 PM





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds