Decodering: Make it 'til You Fake it.
Details
Mocking is essential for isolating components and writing reliable unit tests, especially when dealing with external systems or third-party packages.
In Python, dynamic tools like unittest.mock make mocking quick and flexible, while C++ requires more structure through frameworks like gmock.
This talk explores the fundamentals of mocking in both languages, with a focus on mocking third-party dependencies. We’ll compare Python’s dynamic approach with statically-typed challenges, demonstrating practical techniques and best practices.
Whether you're testing APIs, hardware interfaces, or external libraries, you’ll learn how to apply mocking effectively in diverse environments.
Software Architecture
Computer Programming
Software QA and Testing
Coding for Beginners
Technology