DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,904 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in

Discussion on: I use test-driven development every day, ask me anything

Collapse
 
ssolo112 profile image
Steven Solomon Ask Me Anything

Hey Leandro,

1) I would recommend Kent Beck's book on TDD, entitled "Test Driven Development: By Example" β€”I don't want to include a link to it, as I fear people will think it is an affiliate link. The book is black and purple. That is the one I read when I was just starting out. It is structured like a giant tutorial with code that you should actually type in.

If you want to start using it at your work, then you should start. However, I would recommend a timeboxβ€”setting a limitβ€”on how long you fight to test something. If you can't immediately figure out how to test something, don't spend hours on itβ€”unless your employer is okay with thatβ€”just say, "If I can't figure it out in 20 mins, I am gonna move on." As you get more experience, you will be able to tackle those harder to test classes or functions.

2) I personally never act differently near a deadline. I want to remain calm, and not reactive. If I believe a process is worthwhile, I will do it as much as possible.

3) Could you rephrase this question? I am not sure what you mean.

Thank you for the questions!