Files
6d9876cd65 Introduce GoogleTest for Valkey unit testing (#3241)
This PR adds GoogleTest (gtest) support to Valkey to enable 
writing modern unit tests,as mentioned in
https://github.com/valkey-io/valkey/issues/2878

**Motivation**: 
GoogleTest provides richer assertions, test fixtures, mocking
support, and improved diagnostics, helping improve test coverage
and maintainability over time.

For more details, see `src/gtest/README.md`.

**Changes**

This PR integrates the GoogleTest framework and migrates all
existing C unit tests to GoogleTest.

---------

Signed-off-by: Harry Lin <[email protected]>
Signed-off-by: Madelyn Olson <[email protected]>
Signed-off-by: Alina Liu <[email protected]>
Signed-off-by: Jacob Murphy <[email protected]>
Signed-off-by: Jim Brunner <[email protected]>
Co-authored-by: Harry Lin <[email protected]>
Co-authored-by: Jim Brunner <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]>
Co-authored-by: Jacob Murphy <[email protected]>
Co-authored-by: Alina Liu <[email protected]>
2026-02-26 14:14:23 -08:00

1.1 KiB

How to Contribute

We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.

Contributor License Agreement

Contributions to this project must be accompanied by a Contributor License Agreement. You (or your employer) retain the copyright to your contribution; this simply gives us permission to use and redistribute your contributions as part of the project. Head over to https://cla.developers.google.com/ to see your current agreements on file or to sign a new one.

You generally only need to submit a CLA once, so if you've already submitted one (even if it was for a different project), you probably don't need to do it again.

Code reviews

All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.

Community Guidelines

This project follows Google's Open Source Community Guidelines.