Lifes a Riot Resources

Pre-requisites:

https://www.dropbox.com/s/haoscmfzm1m8dfi/Pre_Requisites_Map_V2.pdf?dl=0

 

Links to the “Lifes a riot with Stubs, Fakes, Spies & Mocks” Repos

https://github.com/chrischant3/lifes-a-riot-with-stubs

https://github.com/chrischant3/lifes-a-riot-with-spies

https://github.com/chrischant3/lifes-a-riot-with-mocks

 

Useful LInks
Use JSON generator to create some example data. https://www.json-generator.com/

Useful resources on POSTMAN https://github.com/DannyDainton/All-Things-Postman

 

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.

Leeds Testing Atelier October 2017

It gives me great pleasure to sponsor the Leeds Testing atelier for the second time this year. I lived and worked in Leeds for a year at a time when the testing community was just starting to take off, and it’s fantastic to see it thrive over the last few years. I believe in the people behind the Leeds Testing Atelier and love their Punk / DIY approach to conferences.

The Atelier will be on the 17th October @ the Wharf Chambers in Leeds. It’s free to attend and includes food and drink (including craft beer!). Details, including the fantastic lineup, can be found here.

Register today and come along and say hi.