All Projects → davidstutz → googlemock-example

davidstutz / googlemock-example

Licence: other
An example of using Google Mock inspired by Martin Fowler's "Mocks Aren't Stubs".

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to googlemock-example

made-in-bangladesh
A curated list of awesome frameworks, libraries and softwares made in Bangladesh.
Stars: ✭ 136 (+491.3%)
Mutual labels:  software-engineering
blog
Personal blog on computer science and software engineering.
Stars: ✭ 18 (-21.74%)
Mutual labels:  software-engineering
design-patterns-explained
Explanation for most of the well-known design patterns with examples and figures.
Stars: ✭ 18 (-21.74%)
Mutual labels:  software-engineering
Scalpel
Scalpel: The Python Static Analysis Framework
Stars: ✭ 176 (+665.22%)
Mutual labels:  software-engineering
CodeWars
Daily Coding Exercises to sharpen problem solving skills
Stars: ✭ 67 (+191.3%)
Mutual labels:  software-engineering
tg
Trident Genesis
Stars: ✭ 14 (-39.13%)
Mutual labels:  software-engineering
pyggi
Python General Framework for Genetic Improvement [Version 2]
Stars: ✭ 24 (+4.35%)
Mutual labels:  software-engineering
hamilton
A scalable general purpose micro-framework for defining dataflows. You can use it to create dataframes, numpy matrices, python objects, ML models, etc.
Stars: ✭ 612 (+2560.87%)
Mutual labels:  software-engineering
Saway4ru
В этом релизе Вы найдете дополнительные материалы к книге "Путь аналитика. Практическое руководство ИТ-специалиста" (https://www.piter.com/product_by_id/40878036) Саму книгу можно заказать по адресу https://goo.gl/Av7Zmg
Stars: ✭ 22 (-4.35%)
Mutual labels:  software-engineering
swe
Examples and exercises used during Software Engineering course
Stars: ✭ 18 (-21.74%)
Mutual labels:  software-engineering
resources-to-master-software-engineering-interview-for-non-cs-majors
📖 Resources To Master Software Engineering Interview for Non CS Majors
Stars: ✭ 44 (+91.3%)
Mutual labels:  software-engineering
xai4se.github.io
Explainable AI for Software Engineering: A Hands-on Guide on How to Make Software Analytics More Practical, Explainable, and Actionable (https://xai4se.github.io)
Stars: ✭ 18 (-21.74%)
Mutual labels:  software-engineering
notes
My personal tutorials and notes.
Stars: ✭ 34 (+47.83%)
Mutual labels:  software-engineering
events
Repository of events for the Software Crafters Sydney community
Stars: ✭ 13 (-43.48%)
Mutual labels:  software-engineering
programming-note
Lecture notes on Computer Science, Web Development, and System Design
Stars: ✭ 199 (+765.22%)
Mutual labels:  software-engineering
Everything-Tech
A collection of online resources to help you on your Tech journey.
Stars: ✭ 396 (+1621.74%)
Mutual labels:  software-engineering
self-made-data-scientist
My concrete study plan to become a data scientist
Stars: ✭ 16 (-30.43%)
Mutual labels:  software-engineering
cs-sakaryauniversity
Sakarya Üniversitesi'nde okuduğum süre boyunca karşıma çıkan tüm ödevler, ders notları ve çıkmış sınav soruları (All the assignments, lecture notes and exams)
Stars: ✭ 133 (+478.26%)
Mutual labels:  software-engineering
code-examples
Code examples from the https://sttp.site book
Stars: ✭ 19 (-17.39%)
Mutual labels:  software-engineering
ccf-deadlines
⏰ CCF recommendation conference Deadline Countdowns / Please star this project, thanks~
Stars: ✭ 2,058 (+8847.83%)
Mutual labels:  software-engineering

Martin Fowler's "Mocks Aren't Stubs" Example in C++ with GMock

Build Status

This repository contains the example discussed in Martin Fowler's "Mocks Aren't Stubs" implemented in C++ using GMock.

Building

Make sure to recursively clone, or use:

git submodule update --init --recursive

Then, on Ubuntu, build using:

sudo apt-get install build-essential cmake
mkdir build
cd build
# Make sure to build GMock!
cmake .. -DBUILD_GMOCK=On
make

Also see .travis.yml.

License

Original idea by Martin Fowler.

Copyright (c) 2016 David Stutz All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of David Stutz nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].