Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement unit tests for C++ #44

Open
RobPasMue opened this issue May 26, 2022 · 0 comments
Open

Implement unit tests for C++ #44

RobPasMue opened this issue May 26, 2022 · 0 comments
Labels
C++ Docker Docker related tasks: images, publishing, docker-compose etc. good first issue Good for newcomers gRPC REST Tasks involved with the development of REST demos

Comments

@RobPasMue
Copy link
Member

At the moment, we have several functional tests which are not run as part of the CI job. These tests are basically compiled in each of the projects: C++ REST Server, C++ REST Client, C++ gRPC Server, C++ gRPC Client.

In order to run those tests one has to run the binaries simultaneously (i.e. deploy the server and run the client)... This should be automatized in CI using services for deploying the server docker containers and running the client binaries.

An even better approach would be to actually implement unit tests using the Google Test infrastructure. And run them with ctest. However, since they are different projects each of them, it may be necessary to set up mockups in each of them to replicate the behaviour of the server in the client project, and vice versa. TBDiscussed this last approach.

@RobPasMue RobPasMue added good first issue Good for newcomers REST Tasks involved with the development of REST demos Docker Docker related tasks: images, publishing, docker-compose etc. gRPC C++ labels May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ Docker Docker related tasks: images, publishing, docker-compose etc. good first issue Good for newcomers gRPC REST Tasks involved with the development of REST demos
Projects
None yet
Development

No branches or pull requests

1 participant