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

  Переглядів 1,880

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
Using the filter view in practice - Nicolai Josuttis - Meeting C++ 2023
1:00:38
Time Travel Debugging - Greg Law - Meeting C++ 2023
1:02:01
Meeting Cpp
Переглядів 2,3 тис.
маленький брат прыгает в бассейн
00:15
GL Show Russian
Переглядів 3,7 млн
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Переглядів 110 млн
Sala de reuniones personales de Jonas Rodrigues Winners
Jonas Rodrigues Winners
Переглядів 56
So You Want to Be an EMBEDDED SYSTEMS ENGINEER | Inside Embedded Systems [Ep. 5]
9:31
Testing Legacy Code Elliotte by Rusty Harold
1:00:49
Devoxx
Переглядів 19 тис.
Top 9 Most Popular Types of API Testing
4:08
ByteByteGo
Переглядів 82 тис.
Which Phone Unlock Code Will You Choose? 🤔️
0:14
Game9bit
Переглядів 6 млн
📱 SAMSUNG, ЧТО С ЛИЦОМ? 🤡
0:46
Яблочный Маньяк
Переглядів 640 тис.
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11
Вы поможете украсть ваш iPhone
0:56
Romancev768
Переглядів 405 тис.
iPhone 17 Slim - НЕ ОНОВЛЮЙ iPhone в 2024 | Новини Тижня
31:12
Канал Лучкова
Переглядів 35 тис.