I am trying to port some libraries and binaries from linux environments to windows. From what I can check, visual studio doesn't really install gtest in the development environment, and rather it copies the library in this gtest project directories. In ...\VC\Tools\MSVC\14.41.34120\include there is nothing related to gtest from what I can find and grep. Has someone installed successfully gtest manually in the visual studio environment in order to have something working for multi-platform projects ?
Can we create library application? i.e Configuration type DLL instead of .exe for test application. I tried this, I changed Configuration type to DLL but test discovery is not happening in VS2022. Is there any way to make it happen?
Тут какой-то макрос устанавливается. Надо попробовать. До сих пор все попытки не увенчались успехом. Я вобще пришёл к выводу что сейчас эти тесты вобще не работают и от них лучше отказаться. Но мб я поменяю своё мнение... Посмотрим!
this is how to set up unit testing with google test suite in visual studio and shows how to do a simple test. Testing code is essentially a way to prove that code works as expected by calculating what the output should be and then giving it the inputs to get the expected output.
I watched a ton of videos explaining how to use Google test, but man you explained it the best. God bless you.
best recent vs2022 video for me! thanks
I tested, and it works thanks very.
Thank u man, i was testing my project and it suddenly stopped with errors, i did it like you did and it worked. Thank you so much❤
Thanks for your video! You just save my day.
Thank you very much for the tutorial ❤
I am trying to port some libraries and binaries from linux environments to windows.
From what I can check, visual studio doesn't really install gtest in the development environment, and rather it copies the library in this gtest project directories.
In ...\VC\Tools\MSVC\14.41.34120\include there is nothing related to gtest from what I can find and grep.
Has someone installed successfully gtest manually in the visual studio environment in order to have something working for multi-platform projects ?
Can we create library application? i.e Configuration type DLL instead of .exe for test application. I tried this, I changed Configuration type to DLL but test discovery is not happening in VS2022. Is there any way to make it happen?
Тут какой-то макрос устанавливается. Надо попробовать. До сих пор все попытки не увенчались успехом. Я вобще пришёл к выводу что сейчас эти тесты вобще не работают и от них лучше отказаться. Но мб я поменяю своё мнение... Посмотрим!
привет. получилось поставить?
Hi Andy, i got stuck with setting up gtest for testing my code. Could you please help me figure it out?
@@AndyBlackburnart how to write test cases for functions with interdependent functions, classes n headers
@@AndyBlackburnart where can we connect to share it?
@@AndyBlackburnart sorry I got caught with flu and couldn't work for quite a time
Sorry I didn't see your comment for a long time, you can add me on discord: Spiffy664#4376
"i found this on the internet not sure what it does"
this is how to set up unit testing with google test suite in visual studio and shows how to do a simple test.
Testing code is essentially a way to prove that code works as expected by calculating what the output should be and then giving it the inputs to get the expected output.