If you're a C++ programmer and a C++ Programmer who is considering writing unit test code for the C++ code. It's highly likely that Google Test C++ Unit Testing framework will be a candidate to consider.
Google C++ unit test framework allows writing of unit test code for C++ Programming Languages for all versions including C++11, C++14, C++17 and latest C++20 specifications.
This video is a complete introduction to Google Test (also called gtest) where you'll learn about how you can use google test framework to write unit tests. It starts with the basics of unit test and goes on to talk about the assertions and structure of unit testing.
This video talks in detail about the assertions that are available on Google Test and the difference between different assertions macro. It also talks about fatal and non fatal failures of unit test code.
After discussing about the basic structure of the code and basis assertions this video talks about one of the most important aspect of writing unit test code called Test Fixtures. Even for writing bare minimum test code you need test fixtures.
The structure of writing unit testing is arrange act and assert. Test fixtures are used of common arrange for multiple tests.
#cpp #cplusplus #gtest #unittest #testing #googletest #software #softwaredevelopment
-----------------------------------------------------------------------------------------------------------------------
Hi I am Deepak K Gupta (nickname & Preferred:- Daksh). I am a software developer and creating software since 1999. During the course of my career I've worked as a software Developer, Architect as well as Chief Technology Office.
I started this channel to share my knowledge and understanding of Software Development which I believe will help people in writing better and quality code. This channel covers broad set of Computer Science and Software Engineering topics including but not limited to Programming.
Here is the kind of contents you can expect from my KZitem Channel i.e. both existing and upcoming
1. Data Structures and Big O Notations, Algorithms and Algorithm complexity
2. C++ programming (latest specifications C++17 and C++20 ) tutorial. Learn How to create high performance system applications using one of the oldest and still relevant programming Language.
3. Learn modern Python Programming (Python 3.x) and understand how python is used for Data Science, Data Analytics and Machine Learning.
4. Learn Python libraries like NumPy, Scipy, Scikit-learn, Pandas and more
5. Learn JAVA, one of the widely used and most versatile Programming Language. Explore Java Libraries like Spring and SpringBoot
6. Learn JavaScript and understand how JavaScript can be used for Functional Programming as well as for Reactive Functional Programming. Explore JavaScript libraries like ReactJs, BaeconJS, Mocha and ChaiJS
7. Learn Golang, an extremely fast, microservices ready programming language with goroutines
8. Systems Programming including details about writing memory and multi Core CPU efficient codes.
9. Understand Machine learning and Neural Networks and create prediction engines. Lean Languages, tool, and libraries for the same
10. Understand and explore Neural Network with PyTorch, Keras, OpenCV and TensorFlow
11. How to Create cross platform mobile apps
12. Explore SQL and NoSQL databases like PostgreSQL, MongoDB, Redis, Apache Spark, neo4j and Apache Cassandra
6. Learn source with git, which is one of the most widely used decentralized source control. Learn more about branches merge and commit
7. Learn about persistent nosql databases like mongodb using my mongodb tutorial as well as in memory nosql databases like redis using my redis tutorial. you'll also learn about using redis nodejs
8. Understand the concept of handling large data e.g. Big Data
9. Learn about graph theory and graph database
Please subscribe to my KZitem channel to get regular updates www.youtube.co...
Негізгі бет Google C++ Test Framework - Introduction - Assertions Types and Test Fixtures for latest C++ Specs
No video
Пікірлер: 58