Ask!

My big aha moment in software development came when I learned to do Test Driven Development. The subjective and objective quality of my code has gone through the roof, and I was hooked. In this blog I want to share everything I know about good, testable software design.

On this page I want to hear from you! What aspect of testability would you like to know more about. Please leave your suggestions as comments and, I am looking forward to answering them.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • E-mail this story to a friend!
  • Reddit
  • Slashdot
  • StumbleUpon
  • Blogosphere News
  • description
  • TwitThis

6 Comments

6 responses so far ↓

  • Andy // Jul 25, 2008 at 12:52 pm

    Hi Misko,
    I really liked your article “Top 10 things I do on every project”. It is very well written.

    Could you please suggest me a good book on how to effectively do unit testing. I wish to learn how to test conditions, loops and exceptions etc.

  • misko // Jul 27, 2008 at 10:57 am

    I can recommend these two books by Dave Astels:
    * Test-Driven Development: A Practical Guide
    * A Practical Guide to eXtreme Programming

  • Michael // Sep 2, 2008 at 12:16 pm

    Hi Misko,

    first of all nice writing. I makes fun to read your blog!

    I think a very high testcoverage is good for any software project. At its best it is TDD.

    But what to do with existing project do not have any tests?

    And how to bring people in the office to write tests?

    Do you have any suggestions/books? I currently reading “Working effectively with legacy code” which answer Question. But question 2 still unanswered.

  • misko // Sep 6, 2008 at 9:55 am

    @Michael,

    You ask excellent questions! but unfortunately I don’t have straight answers for you. Yes, the question you ask is what my job description is, but there is no one size fits all answer.

    I often use this trick described here if I know the exact behavior I want to get out of people. If the result can not be formulated like that, the only thing I know is to pair with people on their problems for few weeks and transfer my know-how / point-of-view to them by osmosis.

  • Philipp // Oct 26, 2008 at 3:09 am

    H Misko,

    I have a question regarding how Testing of the Graphical User Interface is done in the cycle of TDD? I didn’t find your email adress here so I am just writing a comment.

    Does GUI Testing play a role in TDD?

    I see how manual testing of the GUI is done, but that seems useless to me since you can’t really tell about the coverage of your tests. It should be possible to automate the whole process of creating a model of the GUI and then creating testcases based on the model. It differs from the testing you do I know. I am just curious.

    - Philipp.

  • Peter Gardner // Nov 14, 2008 at 12:48 pm

    I was wondering if you are still maintaining the Flex Calendar project on google code. Do you consider it complete?

Leave a Comment