Faking and Mocking Legacy Embedded C

Faking and Mocking Legacy Embedded C

James W. Grenning

Language: English

Publisher: Wingman Software

Published: Jun 16, 2015

BibTeX: techreport
Worte: 7876
Seiten: 21
FRE: 74
GFI: 9
FKGL: 7

Description:

Here are the Slides from James Grenning's talk at the Norwegian Developers Conference, Oslo, Norwegian June 17, 2015.

You have test-driven in other languages but need to sharpen your skills for C or C++. In this talk we'll test-drive code using CppUTest and CppUMock. You'll also take the legacy C challenge and use all the tools of the trade to get this code, never meant to be unit tested, into CppUTest. To effectively mock and fake in C and C++ you need to know your tools and use them in creative ways. Each stage of compilation must be mastered to tame the legacy C beast.

Further references: