C++ Unit Testing with Google Test Tutorial

preview_player
Показать описание
In this tutorial, we take a look at how to perform using testing in C++ using the Google Test framework and ReSharper C++ as the test runner. To find out more about ReSharper C++, please visit:

Author: Dmitri Nesteruk
Рекомендации по теме
Комментарии
Автор

This was an amazing tutorial. Would love to see another one specifically with any nuances in CLion or maybe some for advanced features, but this was great, thank you

jflopezfernandez
Автор

The moment you realized JetBrains didn't "dog food" their C++ IDE on this tutorial

KangJangkrik
Автор

7:09 - Great example of parameterized testing in Google Test.

syntaxusdogmata
Автор

ReSharper seems to be a great extension, the refactoring features are much more advanced comparing to the ones that VS has.

barbosikd
Автор

Awesome step-by-step! Thank you very much!

baqtronic
Автор

Коротко и по делу. Огромное спасибо автору!

dmanikhine
Автор

Thank you, very clear and straightforward.

ihspan
Автор

Большое спасибо за проделанную работу!

johngalt
Автор

Really good example of how to use gtest.

arthurspa
Автор

Historical note: Before February 2016 *_EQ had a convention of calling it as ASSERT_EQ(expected, actual), so lots of existing code uses this order. Now (2020) *_EQ treats both parameters in the same way. However, when possible, ASSERT_EQ(actual, expected) is preferred. (gtests docs)

zenoncelofan
Автор

Good one. Please do another video for gmock.

zianaris
Автор

only opens some text in the console for me, not in Visual Studio. Did i miss something?

patrickhentschel
Автор

Could you just explain how did you create the base project, stdafx.h and targetver.h, I can't make this compile, vs can't find the test in test explorer

mathssoso
Автор

Does anyone know whats the version of the latest Google test

theycallmemorphine
Автор

0:40 Already on it. This is what I want to know. Where did he earn this stuff. How could I have possibly known to do that without this video. This all had to start somewhere.

smajin
Автор

When I try to add "account_state {100, 50, 50, true}", I am getting error "expected '(' for function-style cast or type construction". Can any one help me?

advaitharmy
Автор

What is unit test session page in your VS, and where i can find its?

thegod
Автор

Hi, I have such error when running tests: 'Can't run "path" --gtest_list_tests" witch working directory "path": Can't create process'. Maybe someone meet this error?

andriykuz
Автор

why set the field to a pointer (BankAccount*) instead of just the object itself at 4:56?

rocky
Автор

Is it possible to using googletest and C++ to run automation test on chrome ? Like insert an user and psw in a web page a login automatically ?

renekomane