How to Configure/Run Google Test for MFC application on Visual Studio 2022

Vankadara, Suresh 6 Reputation points
2022-06-28T11:54:05.28+00:00

Dear Team,

I'm using VS2022 and running MFC application.

I couldn't run [or maybe couldn't configure ] Google test for my MFC application. When checked Google test with Console application it works straight away.

Can you please help me resolving on how to configure Google test for MFC application on VS2022 and run the tests? Thank you.

Regards,
Suresh

Developer technologies Visual Studio Testing
Developer technologies C++
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Guido Franzke 2,191 Reputation points
    2022-06-28T13:21:12.193+00:00

    Hello,
    try this: how-to-use-google-test-for-cpp
    Regards, Guido


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.