Life’s a Riot with Stubs, Fakes, Spies, and Mocks

I’m delighted to say I’ll be delivering a workshop with Ash Winter on Stubs, Fakes, Spies and Mocks. Our first workshop will be hosted by the Ministry of Testing at Testbash Brighton on the 15th March 2018.

You’ll find the abstract below and can view event information on the Ministry of Testing website:

Life’s a Riot with Stubs, Fakes, Spies, and Mocks

Ever wished you had more control over third party API responses? Have you been unable to test specific API responses? Perhaps you’re trying to improve the stability of your automation suites? Have you just started writing unit and integration tests? Maybe you’re building a client for an API that hasn’t been built yet, and you want to get testing earlier? Facing these challenges, mocks, stubs, fakes and spies are essential to testability and can be used both in your automation and as a tool to aid you in your exploratory testing.

In this workshop, the group will explore mocks, stubs, fakes and spies. You’ll come away with ideas on when these techniques are appropriate, how to gradually build up features in the tools you create to mimic services and you will know just how quick it is to go from idea to working tool. Some programming experience is preferred, but anyone who has an interest in testability will find the workshop rewarding.

Key takeaways are:

  • Recognise the common terminology used in the stubs, fakes, spies and mocks domain
  • Understand the difference between stubs, fakes, spies and mocks through their characteristics and use cases
  • Apply this foundational knowledge to build a gradually more featured tool to illustrate the journey from stub to fully fledged mock

The systems we test are massively integrated with many different data sources, and this is only going to increase. With the ability to mimic key services, your dependencies won’t be the bottleneck that stops you from delivering information of value, early and often.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s