This repository contains the source code from a technical demo showing students how to make Unit Tests using the Google Test framework.
- Fork this repository You can accomplish this by clicking the Fork button on the top right corner of this page.
- Navigating to your preferred workspace in your terminal to work on the repository locally. Use this guide if necessary.
- 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
Go into the Build directory, compile cmake. Make sure to have cmake installed locally first!
cd Build
cmake ..
make
./mytests
To compile your code after any change do:
make
Then run
./mytests
Helpful article: GoogleTest Article
Developed by samuelsandoval1👨🏻💻