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

  Рет қаралды 2,639

Meeting Cpp

Meeting Cpp

Күн бұрын

Пікірлер: 6
@edsonmanoel5263
@edsonmanoel5263 Ай бұрын
You dont need to run On-Target tests to get rid of HAL libraries or external dependencies. Just use a Mock framework, such as Google Mock or hippomock, and mock the behaviour of your external hardware or the HAL libraries your code depend on.
@MeetingCPP
@MeetingCPP Ай бұрын
True, but sometimes you do want to be able to run your tests on the actual hardware and not a mock.
@edsonmanoel5263
@edsonmanoel5263 Ай бұрын
@@MeetingCPP Yes. I think that is the whole point of DevOps. Unit testing is just a part of the whole loop. Then, to run tests on the actual hardware you have HIL or open loop systems (that I prefer to call regression tests). With unit testing you save time and money by identifying bugs as early as possible in the development phase. That is actually the point of TDD. And as I said, having internal or external dependencies is not a problem in unit testing if you use a rich Mocking syntax framework, while the lecturer is trying to sell the idea, for obvious reasons, that you need to go for the open loop approach because of the dependencies
Erik Siegel  -  DSL engines running on XProc
33:12
Declarative Amsterdam
Рет қаралды 43
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,3 МЛН
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 5 МЛН
Daniel Penning - tdd for microcontroller - emBO++ 2024
51:49
Open Skunkforce e.V.
Рет қаралды 272
You ONLY Get Code LIKE THIS With TDD
16:55
Continuous Delivery
Рет қаралды 23 М.
What is OpenTelemetry?
12:55
Highlight
Рет қаралды 14 М.
10 years of embedded coding in 10 minutes
10:02
Greidi Ajalik
Рет қаралды 415 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 655 М.
Programming Is Cooked
9:30
ThePrimeTime
Рет қаралды 301 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,3 МЛН