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 GoogleTest and refactor ByteBuffer and BoundingBox tests #5539

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

12xx12
Copy link
Member

@12xx12 12xx12 commented Dec 14, 2023

I want to come back to cuberite and to start out apply stuff from the software architecture lecture xD

I want to add more and better tests.
I chose google test as a framework. If we want another, we can swap.

I know we have the other already in place, but the Google test has more assertions and support for mocking

This commit integrates GoogleTest into the project, replacing the existing test framework. It refactors the tests for the ByteBuffer and BoundingBox classes to use GoogleTest format. Tests were updated with GoogleTest's assertions and boxing. In addition, the code introduces a new method to download GoogleTest as a CMake external project. New tests have been added covering all essential areas.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant