Skip to content

C++ sample application with unit tests developed on GoogleTest.

License

Notifications You must be signed in to change notification settings

leoduprates/cpprime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ CMake GTest Docker

CPPrime

C++ sample application with unit tests developed with GoogleTest.

Built With

Project Architecture

cpprime/
├── build
├── src
│   ├── prime.cpp
│   ├── prime.h
│   └── main.cpp
├── tests
│   └── primeTest.cpp
├── makefile
├── CMakeLists.txt
└── README.md

Design Patterns

This project uses the design patterns from Google C++ Style Guide.

Getting Started

1. Build application

$ make build

2. Run application

$ make run

3. Run Tests

$ make test

4. Build Cmake

$ cmake -S . -B build

Docker

1. Build Container:

$ docker build --tag=leoduprates/cpprime .

2. Run Container:

$ docker run -it --rm leoduprates/cpprime:latest

Links

About

C++ sample application with unit tests developed on GoogleTest.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published