79818129

Date: 2025-11-12 18:45:08
Score: 4
Natty:
Report link

@Eljay, I totally agree. But I have to create the test without any modifications to the existing code. I do not want to describe the technical lead on my team, but you get my point.

I just need to somehow create a test with minimal work to avoid the back and forth.

Can MOCK_GLOBAL_FUNC2 and EXPECT_GLOBAL_CALL be of help here?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Eljay
  • Self-answer (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: feeling_lonely