ארכיון תגיות: Test

Sep 27

Setting Up The Test Windows Project

Setting Up The Test Windows Project   Example diagram:     Theoretical Background: In the previous articles we learned about gmock and gtest frameworks and set up the windows gmock and gtest projects. In this article we will set up the Windows test project, This project will take dependency on:   The gmock project (which …

המשיכו בקריאה »

Sep 27

Setting up the gmock Windows project

Setting up the gmock Windows project   Example diagram:     Theoretical Background:   gmock is a framework that provides an API for easily setting up mock classes, to be used by your tests. It is also developed by Google and is intended to complete the testing capabilities of gtest. (Although you can use gmock …

המשיכו בקריאה »

Sep 27

Gmock – Cross Platform Mock Framework

Gmock – Google Mock – Cross platform mock framework   Theoretical Background:   Gmock is a cross platform framework for writing mocks for tests in c++ It supports Android, Windows, Mac, IOS and more.   Gmock is not a standalone testing framework, it is used only for setting mock functionality. It complements the gtest framework …

המשיכו בקריאה »

Aug 29

Gtest – Google Test – Cross platform test framework

:Setting up the gtest Windows project     Theoretical Background:   Gtest is a cross platform framework for writing tests in c++ It supports Android, Windows, Mac, IOS and more.   gtest main page: https://code.google.com/p/googletest/   Google Test Runner: https://visualstudiogallery.msdn.microsoft.com/9dd47c21-97a6-4369-b326-c562678066f0 Is a Visual Studio extension that allows to run gtest from the VS built in …

המשיכו בקריאה »