Skip to content

jozedash/solid-fun-w-gtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOLID fun with GTest

A spare time project to experiment with some SOLID principles and testing them with GTest/GMock. Ended up also being a crash course in VSCode tasks and launch configurations.

Attempted to follow the Google coding style guide, too...

Install dependencies

Setup, build, and run

  1. Open this directory in VSCode.
  2. Open settings.json and update "project.gdbPath" to point to your gdb installation (if necessary).
  3. Run the task 'build (debug)'.
  4. Set a breakpoint somewhere in the main.cpp file.
  5. Go to the run menu, run the launch configuration 'Run (Debug)'.
  6. Watch it launch and catch at the breakpoint.
  7. Try again with 'Run Tests (Debug).

You can also build a release version by using the task 'build' and run it with 'Run (Release)'

About

A spare time project to experiment with some SOLID principles and testing them with GTest/GMock. Ended up also being a crash course in VSCode tasks and launch configurations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors