MENU

Fun & Interesting

How to: Software testing with C++ (+ github actions)

Practical Software 1,293 1 year ago
Video Not Working? Fix It Now

Hello and welcome! In this video I talk about a crucial topic in software engineering: Testing. I discuss types of tests, its importance, some principles such as dependency injection and more. Of course the video is not without some practical exercises: we explore, GTest, GMock and even Github actions for running test over CI environments. Repository available at: https://github.com/Marcus-Forte/learning-gtest Times 0:00 intro 1:14 What is software testing 1:54 Types of testing 2:55 Fundamental types of testing 3:56 Mocks 7:03 Integration tests 8:24 System tests 10:00 Practical exercise 10:32 Test subject 12:13 Dependency injection 16:00 Cmake and GTest 19:37 Writing the first tests 22:34 Writing more tests 24:56 Using Mocks 27:41 Expecting calls 31:20 More examples 33:15 Bonus: github actions and pipelines 34:38 Pipeline description file Music by: mezhdunami

Comment