mirror of
https://github.com/valkey-io/valkey.git
synced 2026-05-06 05:26:42 -04:00
f3e957cee8
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 <harrylhl@amazon.com> Signed-off-by: Madelyn Olson <madelyneolson@gmail.com> Signed-off-by: Alina Liu <liusalisa6363@gmail.com> Signed-off-by: Jacob Murphy <jkmurphy@google.com> Signed-off-by: Jim Brunner <brunnerj@amazon.com> Co-authored-by: Harry Lin <harrylhl@amazon.com> Co-authored-by: Jim Brunner <brunnerj@amazon.com> Co-authored-by: Madelyn Olson <madelyneolson@gmail.com> Co-authored-by: Jacob Murphy <jkmurphy@google.com> Co-authored-by: Alina Liu <liusalisa6363@gmail.com>
61 lines
724 B
Plaintext
61 lines
724 B
Plaintext
.*.swp
|
|
*.o
|
|
*.a
|
|
*.xo
|
|
*.so
|
|
*.d
|
|
*.lo
|
|
*.la
|
|
*.log
|
|
dump*.rdb
|
|
*-benchmark
|
|
*-check-aof
|
|
*-check-rdb
|
|
*-check-dump
|
|
*-cli
|
|
*-sentinel
|
|
*-server
|
|
*-unit-gtests
|
|
doc-tools
|
|
release
|
|
misc/*
|
|
src/release.h
|
|
appendonly.aof*
|
|
appendonlydir*
|
|
SHORT_TERM_TODO
|
|
release.h
|
|
src/transfer.sh
|
|
src/configs
|
|
redis.ds
|
|
src/*.conf
|
|
deps/lua/src/lua
|
|
deps/lua/src/luac
|
|
deps/lua/src/liblua.a
|
|
deps/hdr_histogram/libhdrhistogram.a
|
|
deps/fpconv/libfpconv.a
|
|
tests/tls/*
|
|
.make-*
|
|
.prerequisites
|
|
*.dSYM
|
|
Makefile.dep
|
|
.vscode/*
|
|
.idea/*
|
|
.ccls
|
|
.ccls-cache/*
|
|
compile_commands.json
|
|
redis.code-workspace
|
|
.cache
|
|
.cscope*
|
|
.swp
|
|
nodes*.conf
|
|
tests/cluster/tmp/*
|
|
tests/rdma/rdma-test
|
|
tags
|
|
build/
|
|
build-debug/
|
|
build-release/
|
|
cmake-build-debug/
|
|
cmake-build-release/
|
|
__pycache__
|
|
src/unit/.flags
|