99 Minute Workshop
-

Mocks and Testability

with Ali Haydar

What You'll Learn

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

  • Identify software integration problems that are solvable with mocks.
  • Outline how mocks work in an end to end context.
  • Setup a project that uses "mockserver" to replace the integration with a 3rd party system.

About This Workshop

Most of the times, when we develop software, we rely on third party services to accomplish a certain outcome so that we don’t have to re-invent the wheel. However, this introduces a new level of complexity, especially around testability.

This where the usage of mocks comes handy. Google definition of mock is: make a replica or imitation of something. It could be a useful tool that makes testing easier (i.e. increases testability).

Mocking isn’t new, and there are lots of articles on the internet about it, but it is less frequent to see content about mocks in the context of a system testing or end to end testing. Usually when creating unit tests, software engineers rely a lot on mocks to mock objects or functions that the unit being tested relies on.

In this workshop, we will be exploring mocks at the end to end level, where we do functional testing of a system that integrates with an external system.

Your Instructor

Ali Haydar

Ali Haydar

Software Engineer

A software engineer and lifelong learner. I strongly believe that good software is built through good collaboration and communication, and hence I am a big fan of the DevOps ways of working. I had the opportunities to work in multiple roles in the software industry, starting with testing, development, product/project management. I love technology in general, and enjoy learning about new tools that make the engineers' lives easier.

What are 99 Minute Workshops?

  • Instructor-led
  • Short
  • Targeted
  • Outcomes-based
  • Learn live with others
  • Convenient
  • Included in Pro

    More Details

Transparent MoT Logo