• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

What we talk about when we talk about unit testing

Posts: 3760
Android Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Interesting video from Kevlin Henney on his views and opinions on software testing.

Posts: 16767
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just from watching the first few minutes, I'm going to guess this is about the conversation that goes on when you're unit testing with at least one other person.

I'm hoping his message resonates with what I've been telling people: it's about the conversation you have, it's about the story we're trying to tell with the code and everybody getting on the same page about what that story is. It's about you and I telling the same story to each other and agreeing, then looking at the code and making sure the code tells the same story. It's about making sure that the code can communicate the same story to whoever (or is it whomever?) comes across this code and needs to know what that story is.

Edit #1: At the 20 minute mark, it's clear that his intent for the presentation is something different from what I was hoping. Still interesting points though and many of the quotes I have also used before around different kinds of discussion.

Edit #2: At the 55 minute mark, it's actually now started to run along the same lines that I initially thought it would. He makes a great point about the style of naming, that the names should make definite assertions.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic