Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/axel-op/cucumber-cpp-containerized
- Owner: axel-op
- Created: 2020-08-14T10:59:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-21T10:22:33.000Z (over 4 years ago)
- Last Synced: 2024-12-15T13:27:58.964Z (about 2 months ago)
- Topics: cmake, cmakelists, container, cucumber, cucumber-cpp, docker
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```