TDD for Microcontrollers - Daniel Penning - Meeting C++ 2023

  Рет қаралды 1,929

Meeting Cpp

Meeting Cpp

3 ай бұрын

TDD for Microcontrollers - Daniel Penning - Meeting C++ 2023
With test-driven development, you first write a test and only then begin with the implementation.
Studies show that this approach reduces both the development time and the error rate.
For that reason, TDD is (at least partly) practiced in a lot of C++ projects. However embedded C++ projects with a lot of hardware-dependend code can traditionally not employ TDD in a straight-forward way.
The presentation shows how the TDD approach can be effectively applied to microcontroller-based projects.
To this end, the dual-target approach developed by James Grenning will first be presented. However, for hardware-related code, such as drivers, this approach has limitations that are not practical.
In the talk, dual targeting is therefore supplemented by open loop tests. The external microcontroller interfaces (GPIO, CAN, I2C, ...) are conceptually replaced by mocks and stubs known from the unittest.
With this addition, a practical embedded TDD workflow is created.
The advantages of test-driven development can then be used for the complete microcontroller development.
Questions that will be anwered in this talk
Why does TDD bring enormous benefits for embedded development in particular?
How can a dual-target approach be built based on open source solutions?
What advantages do commercial solutions offer?

Пікірлер: 3
OpenAI’s GPT-4o: The Best AI Is Now Free!
9:14
Two Minute Papers
Рет қаралды 189 М.
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 37 МЛН
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Рет қаралды 2,9 МЛН
【獨生子的日常】让小奶猫也体验一把鬼打墙#小奶喵 #铲屎官的乐趣
00:12
“獨生子的日常”YouTube官方頻道
Рет қаралды 106 МЛН
Let's all try it too‼︎#magic#tenge
00:26
Nonomen ノノメン
Рет қаралды 47 МЛН
Time Travel Debugging - Greg Law - Meeting C++ 2023
1:02:01
Meeting Cpp
Рет қаралды 2,3 М.
Testing Legacy Code Elliotte by Rusty Harold
1:00:49
Devoxx
Рет қаралды 19 М.
C++20's Coroutines for Beginners - Andreas Fertig - Meeting C++ online
1:26:29
Главная проблема iPad Pro M4 OLED!
13:04
THE ROCO
Рет қаралды 49 М.
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Рет қаралды 3,5 МЛН
❌УШЛА ЭПОХА!🍏
0:37
Demin's Lounge
Рет қаралды 344 М.