What problem does it solve?
After modifying C or C++ code in the RediSearch codebase, developers need a fast, consistent way to verify nothing is broken without memorizing build flags, binary paths, and test filter syntax.
Core Features & Use Cases
- Full Test Suite Execution: Build the project and run all C and C++ unit tests with a single command via build.sh.
- Targeted Test Runs: Execute specific Google Test suites or individual tests using gtest filters, or run individual C test binaries directly.
- Memory Error Detection: Run tests under AddressSanitizer to catch use-after-free, buffer overflows, and leaks, with debug builds for detailed assertion traces.
- Use Case: After refactoring the inverted index implementation, run only the InvertedIndexTest suite with a gtest filter to confirm the change before committing.
Quick Start
Run all C and C++ unit tests to verify my recent code changes did not break anything.