Google Test, GTest and GMock Framework Part 2: Writing Unit Tests with c gtest and c gmock

Google Test, GTest and GMock Framework Part 2: Writing Unit Tests with c gtest and c gmock

HomeCognitive ProgrammerGoogle Test, GTest and GMock Framework Part 2: Writing Unit Tests with c gtest and c gmock
Google Test, GTest and GMock Framework Part 2: Writing Unit Tests with c gtest and c gmock
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
The channel name has been changed due to a rebranding effort. Existing social media handles and links are no longer valid.
——————————————————————————-

Welcome to the video series on the Google Test Framework C, Gtest and C, Gmock. Gtest and Gmock are by far the best and most widely used unit test frameworks for the C programming language.

In the world of software development, unit testing is an extremely important activity to write error-free code.
Google Test is a unit testing framework for writing unit tests for C code. Google Test Framework, i.e. GTest and GMock, is

1. Based on the xUnit architecture and
2. Is portable and works on Linux, Mac and Windows

This video describes the organization of unit testing in AAA form, i.e.

1. Arrange
2. Act
3. Claim

This video also talks about the difference between non-fatal and fatal errors in gtest and gmock.

I hope it helps you learn something new. Have fun!

#gmock #gtest #googletest #test #testing #testdrivendevelopment #tdd #mocks #stubs #testdoubles

Please take the opportunity to connect with your friends and family and share this video with them if you find it useful.