Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/axel-op/cucumber-cpp-containerized

A template to demonstrate how to test a C++ project with Cucumber, in a Linux container.
https://github.com/axel-op/cucumber-cpp-containerized

cmake cmakelists container cucumber cucumber-cpp docker

Last synced: 4 days ago
JSON representation

A template to demonstrate how to test a C++ project with Cucumber, in a Linux container.

Awesome Lists containing this project

README

        

# Cucumber-CPP containerized (PoC)

This repo contains an example Cucumber-CPP project, copied from the [Cucumber-CPP repository](https://github.com/cucumber/cucumber-cpp/tree/master/examples/Calc), and a Dockerfile to test this project with a single docker command, without needing to install Cucumber-CPP locally.

If you edit the .cpp files, don't forget to edit the [CMakeLists.txt](CMakeLists.txt) too.

Once it's done, run the following command to compile, build, and test all your features:

```bash
docker build . -t cucumber-cpp-container && docker run cucumber-cpp-container
```