Test Doubles - Terminology, Definitions and Illustrations - with Examples

This deck is about a subset of the test automation patterns in Gerard Meszaros’ great book, xUnit Test Patterns – Refactoring Test Code.

The subset in question consists of the patterns relating to the concept of Test Doubles.

The deck is inspired by the patterns, and heavily reliant on extracts from the book.

The motivation for the deck is my belief that it is quite beneficial, when using and discussing Test Doubles, to rely on standardised terminology and patterns.

3 Likes

Your slides are usually over my head, but I sometimes skim them out of curiosity. But there is another problem. I always seem to have to fumble around for five minutes just to figure out how to view them. Am I the only one?

1 Like

I am always misled by a jpg that is not a clickable link, but for me the delay only feels like five minutes.

On the landing page, I know now to pick the link with the most views, for the greatest chance of viewing ease.

If I can add a feature request, it would be great if Scaladoc had an option to render doc as an avatar with a speech bubble! Not sure if it should be the avatar of the last editor, the contributor with a preponderance of edits, the first contributor, or just always the Odersky photo we recognize.

1 Like

Hello,

do you mean you have to fumble around once you have clicked on the link (e.g. https://fpilluminated.org/deck/267) and you are on the deck’s page? I guess not because once you are there you have all the following options:

Slideshow: view - view the slideshow on SpeakerDeck but without being taken to the SpeakerDeck site
All slides : view - view a page with the images for all slides
Download: pdf (for a perfect viewing experience - see the slides as they are meant to be seen)
Speakerdeck: slideshow - view the slideshow on Slideshare
Slideshare: slideshow - view the slideshow on SpeakerDeck

Hello,

I am always misled by a jpg that is not a clickable link,

I hear you - please let me know if you find that there is a way of making it clickable

I just click on a link and try to step through the slides using the page down key or the arrow keys, but they don’t work, so I try another link, and the same thing happens. I tried downloading the PDF, but then I have difficult getting it to where I can step through the slides one by one, keeping them in sync with the frame. I’m sure there is some simple trick, but I forgot what it is. I have figured it out in the past, but I seem to have to relearn every time. Where is Steve Jobs when you need him?

1 Like

Once you click on the link in “Slideshow: view” you are shown the first slide, and then you move backwards and forwards through the slides by doing either of the following:

  1. using the < and > controls found at the bottom left of the slide
  2. using your keyboard’s left and right arrows.

But you did get me to realise something: when you are first shown the first slide, if you want to use the arrow keys, you can’t do that without first clicking on the slide first. I guess that’s a SpeakerDeck feature.