Session

Mocking the UART in C++: A Hands-On Approach

In the world of software engineering, robust and efficient testing is crucial for ensuring reliable software. But what happens when your code interacts with hardware?
This session provides a step-by-step walkthrough of mocking UART interfaces in C++. Through a practical, demo-driven approach, we’ll explore how to decouple your code from hardware dependencies, simulate UART behavior, and build effective unit tests, even at compile time.
Best of all, we’ll achieve this without relying on any testing frameworks, just plain C++. By the end of this talk, you’ll have a clear understanding of how to integrate mocking techniques into your development workflow, enabling more reliable and maintainable embedded software.

In the world of software engineering, robust and efficient testing is crucial for ensuring reliable software. But what happens when your code interacts with hardware?

Stefano Fiorentino

Head of Competence Center IoT & Embedded Systems @ adesso Schweiz AG

Lugano, Switzerland

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top