• Testing & ALM

    30 Days of TDD – Day 29 – Reader Question #5

    Brent Eritou asks How do I best communicate the benefits of TDD to my non-technical manager?
    December 11, 2013
  • Testing & ALM

    30 Days of TDD – Day 28 – Reader Question #4

    Robert Pack asks I noticed from the first installment of the series that you say you write classes and methods so that they only just pass tests and no more, cutting down on dead code and zombie bugs. Where does this fit into some peoples’ rules for methods having a maximum number of lines etc? Do you think that’s a completely unrealistic limit to place on methods and that they will be as long as they have to be or do you subscribe to keeping methods below a certain size? I’m interested to hear your thoughts on this.
    December 09, 2013
  • Testing & ALM

    30 Days of TDD – Day 27 – Reader Question #3

    Adam Hall asks Just a quick question regarding TDD, encapsulation and DateTime.Now() I’ve often seen suggestions that you should control the behavior of DateTime.Now so that you can reliably test the way classes react to date times. Controlling DateTime is a solution, but it smells of violating encapsulation, you are affecting objects from outside of their boundaries (and indeed system wide) In your experience what is the best way to deal with Dates in TDD?
    December 06, 2013
  • Testing & ALM

    30 Days of TDD – Day 26 – Reader Question #2

    In this post Emad Mokhtar asks: I want to know how to test my business logic which is basically related to database, I know dealing with database is integration test not unit test but this is what I want to take care of, weather my Employee entity inserted or not, did my validation work or not, what if I insert Employee and failed when in inserting his/her addresses, and can I connected to database.
    December 04, 2013
  • Testing & ALM

    30 Days of TDD – Day 25 – Reader Question #1

    We asked our users to send in their TDD questions with the promise to answer the best five as blog posts. In this post the first user question for the 30 Days of TDD series is answered.
    December 03, 2013