AFH 016: Are You Mocking My Unit Tests? [PODCAST]

Hosts

Ryan Ripley, Amitai Schlair, Arlo Belshee

Discussion

Ryan Ripley (@RyanRipley) Amitai Schlair (@schmonz) and Arlo Belshee (@arlobelshee) covered one of the most diverse agendas ever covered on the podcast. We started with a discussion about scaling agile, the limitations of frameworks like SAFe, LeSS, and DaD.

We then moved on to the limits that consistency puts on innovation and how tuning consistency can be a serious competitive advantage. However, this is complicated task because “anytime we are going for consistency we are necessarily hurting innovation in that same space.

Next we discussed the controversial topic of refactoring vs test driven development (TDD). Arlo described his views on the differences between the two skills and ways that teams can work to refactor their designs safely – with tools – so that the code can then be come testable using TDD practices.

On the TDD side of the discussion the group agreed that “a unit test that uses mocks is not a unit test.” Mocks are a smell that can reveal design issues within your code. Arlo also provided ideas about how to work without mocks and improve designs.

Finally, we covered hiring people for emotional intelligence instead of skills. If smart, inquisitive people can be taught programming and other related skills quickly (~6 months) then what advantage does hiring for skills really bring to a team? Couldn’t it be better to hire for empathy and culture first if skill are cheap to grow…especially in a pair/mob-programming environments?

The answers to these questions and how this mindset shifts hiring led to an interesting conversation about how such thinking can help companies build innovative and effective teams.

And then…we called it a night.

Agile for Humans is brought to you by audible.com – get one FREE audiobook download and 30 day free trial at www.audibletrial.com/agile

Resources, Plugs, and More

Ryanhttp://ryanripley.com

  • No plugs from me this week. Just a big thank you to the listeners for your feedback and support!

Amitaihttp://www.schmonz.com/

Arlohttp://arlobelshee.com/

Please note: I reserve the right to delete comments that are offensive or off-topic.

  • Steven Solomon

    I love the podcast! Keep up the good work. I’d love to hear an episode featuring Steve Freeman or Nat Pryce discussing mocks in the future.