/GoogleTest-Demo

This repository contains the source code from a technical demo showing students how to make Unit Tests using the Google Test framework.

Primary LanguageC++

GoogleTest Demo 📈

This repository contains the source code from a technical demo showing students how to make Unit Tests using the Google Test framework.

Getting Started 😀

  1. Fork this repository You can accomplish this by clicking the Fork button on the top right corner of this page.
  2. Navigating to your preferred workspace in your terminal to work on the repository locally. Use this guide if necessary.
  3. Clone your forked repository by running the following command. Replace YOUR_GITHUB_USERNAME with your GitHub username.
git clone https://github.com/YOUR_GITHUB_USERNAME/GoogleTest-Demo.git

Testing your Code ✅

Go into the Build directory, compile cmake. Make sure to have cmake installed locally first!

cd Build  
cmake ..
make
./mytests

Compiling your Code ⌨️

To compile your code after any change do:

make

Then run

./mytests

Helpful article: GoogleTest Article



Developed by samuelsandoval1👨🏻‍💻