Mocks and Testability - 7 June 2021 (UK Timezone)

99-Minute Workshops, the brand new addition to Ministry of Testing’s learning platform available only to our Pro Members.

Our short, instructor-led, workshops are the perfect way to explore and experiment with new ideas, keep updated with new tools and approaches to testing. Broadening your understanding of what it means to be a valuable member of a modern software development team.

Mocks and Testability

Most of the time, 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. This is where mocks can come in handy.

At the end of Ali's workshop, you will be able to:

  • identify software integration problems that are solvable with mocks,
  • outline how mocks work in an end to end context and
  • setup a project that uses "mockserver" to replace the integration with a 3rd party system. 

Join Ali Haydar's workshop on the 7th of June 2021 at 8 PM (UK Time).

For more information on the 99-Minute Workshops click here.

Go Pro
99-minute workshops are only available to Pro members, Go Pro and you can join them all!

Instructor

Ali Haydar

Ali Haydar

Software Engineer

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.

Takeaways

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.

Ali Haydar
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.
@Alee_Haydar
https://ahaydar.github.io/personal-website/