Of Spies, Fakes and Friends - Help Your Code Lead a Double Life! - Rabea Gleissner

13th January 2023
  • Locked
Rabea G's profile
Rabea G

Of Spies, Fakes and Friends - Help Your Code Lead a Double Life! - Rabea Gleissner image
Talk Description

You’ve started writing unit tests for your applications but aren't quite sure what mocks and spies are about? You sometimes run into trouble because you have so many dependencies in your tests? You don’t know how to test your code that calls an API? Well, this session could help you out! Find out how test doubles come in handy when you’re test driving your code.

In this talk you’ll learn about the different types of test doubles and their purpose. I’ll demonstrate how they can help you make your test driven life a lot easier. There will be code examples for rolling your own test doubles and also for using doubles provided by one of the popular testing frameworks.

Attendees will learn how test doubles can simplify their tests and make the untestable testable. They will also learn to distinguish between the different types of test doubles, which ones to use in which situation and why what we colloquially call a “mock” isn’t always a mock.

What you’ll learn

By the end of this talk, you'll be able to:

  • TBA
Rabea G's profile'

Rabea G

Rabea works as a software developer at 8th Light, a software consulting company that follows the Software Craftsmanship principles. She has worked as a software developer for almost four years now, after changing careers from digital marketing - one of the best decisions she has ever made. Rabea is passionate about encouraging women to join the tech industry and is a voluntary instructor at Code First:Girls.

Suggested Content
"Are we there yet? Driving quality & tackling automation debt" with Amber Pollack-Berti
Can Mobile Accessibility Testing be Automated via AI? with Mesmer
Approach to Comparing Tools with Matthew Churcher
TestChat 5: Discussing Device Testing
Performance Testing 101
Feature Spotlight: Postman PostBot
With a combination of SAST, SCA, and QA, we help developers identify vulnerabilities in applications and remediate them rapidly. Get your free trial today!
Explore MoT
TestBash Brighton 2024
Thu, 12 Sep 2024, 9:00 AM
We’re shaking things up and bringing TestBash back to Brighton on September 12th and 13th, 2024.
MoT Foundation Certificate in Test Automation
Unlock the essential skills to transition into Test Automation through interactive, community-driven learning, backed by industry expertise

Tags

  • automation
  • testing-tools