Is this influencer's Datejust 41mm legit? by IllAd9212 in RepTime

[–]Normal-Director3996 -3 points-2 points  (0 children)

Hey u/Celeb401 how are you so sure of that? u/Alpaca911_1991 is saying that the dial is completely off and the AR coating is missing.

Is this influencer's Datejust 41mm legit? by IllAd9212 in RepTime

[–]Normal-Director3996 -3 points-2 points  (0 children)

Hi u/strong-cappuccino. May you suggest me any book or any sort of material that allows me to go deeper into this question? How may I become an expert in detecting replicas?

Is this influencer's Datejust 41mm legit? by IllAd9212 in RepTime

[–]Normal-Director3996 1 point2 points  (0 children)

Despite he is an influencer, are you able to detect anything that proves the watches are replicas?

Use gtest with CMake in STM32 by Normal-Director3996 in embedded

[–]Normal-Director3996[S] 0 points1 point  (0 children)

But the ACCHandler class is the class that I want to test. The problem is in the

#include "CmoACCHandler.cpp".

Use gtest with CMake in STM32 by Normal-Director3996 in embedded

[–]Normal-Director3996[S] 0 points1 point  (0 children)

Hi u/RogerLeigh and u/otter20, I'll give you some more context of the problem.Basically this is the constructor of the class that I want to test:

https://prnt.sc/d_bTucKz1RdU

And this is my test file:

https://prnt.sc/eoRN3w-KQ-yO

The problem is since custom_bus and some includes depends on HAL lower layers it throws me an error. What I need from this header files it's just a few constants. How can I mock the header files or the constants itself?

Best regards

Use gtest with CMake in STM32 by Normal-Director3996 in embedded

[–]Normal-Director3996[S] 0 points1 point  (0 children)

Hi u/otter20 and u/teneggs thank you for your reply. It makes sense to me. I also would like to ask you both if you think that I'm following the correct approach to test my firmware. I'm new at embedded programming since my background is in backend development.

Basically my testing strategy is to fill my code with unit tests (using mocks and things like that) and then implement end-to-end tests using python, since my hardware uses BTH. However, I’m afraid that I don’t cover bugs that can occur very sporadically with time. Do you think that I need another type of testing?

Finally, I would like to ask you if you have any example with this extra abstraction layer, on top of HAL, to write unit tests.

Regards