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

Integrate UT in a CLI Pipeline #2

Open
Gallasko opened this issue Oct 1, 2024 · 0 comments
Open

Integrate UT in a CLI Pipeline #2

Gallasko opened this issue Oct 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Gallasko
Copy link
Owner

Gallasko commented Oct 1, 2024

We need to integrate unit testing (UT) into the Continuous Integration (CI) pipeline for the game engine project. The goal is to ensure that every commit or pull request automatically runs the unit tests to verify the stability of the codebase.

Task Breakdown:

Set Up Unit Testing Framework:

Integrate unit testing framework of the C++ project. (Google Test)

Modify CI Pipeline:

Create a CLI pipeline to include a step that automatically runs the unit tests, using a service like GitHub Actions.
Ensure that the CI pipeline triggers on every push and pull request.
Test Result Integration:

Set up the pipeline to display test results in the GitHub pull request UI.
Ensure that the pipeline fails if any unit test fails, preventing untested or unstable code from being merged.
Documentation:

Add a section to the README that explains how contributors can run unit tests locally.
Include details on how the unit tests are run automatically in the CI pipeline.
Skills Needed:

C++ and unit testing frameworks (Google Test, Catch2, etc.)
Familiarity with CLI tools and Continuous Integration (CI) pipelines (GitHub Actions, Travis CI, etc.)
Difficulty: Intermediate

Expected Outcome:

A fully integrated unit testing step in the CLI pipeline.
CI should automatically run unit tests on every push/pull request and provide feedback based on test results.

@Gallasko Gallasko added the enhancement New feature or request label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant