Skip to content

ChicoState/q03-annasehgal

 
 

Repository files navigation

Test

GuesserTest

Getting Started

Prerequisites:

  • Docker (*nix) or Docker Desktop (Windows/Mac)
  • *nix-based Command Line Environment (i.e. WSL2 on Windows)

With Docker running, execute the following commands in order.

This will generate the container image. It needs to be run each time the container configuration changes.

docker build -t cpp-container .

This will use the current code, attempt to build it, and run its tests within the container. If you change the code (and not the container configuration), you only need to repeat this command.

docker run -v "$(pwd)":/usr/src -it cpp-container

To run commands within the container interactively, use:

docker run -v "$(pwd)":/usr/src -it cpp-container sh

and then type commands (e.g. make clean, make, ./GuesserTest, gcov, etc.) at the # prompt.

About

se-spring-2025-q03-Guesser created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 84.4%
  • Makefile 9.8%
  • Dockerfile 5.4%
  • Shell 0.4%