tercul-backend/internal/platform
google-labs-jules[bot] 0636596341 test: Increase test coverage for internal/platform/cache
This commit introduces a comprehensive test suite for the `RedisCache`
implementation in `internal/platform/cache/redis_cache.go`.

The following changes were made:
- Added `go-redis/redismock/v9` as a dev dependency to mock the Redis
  client.
- Created `internal/platform/cache/redis_cache_test.go` with tests for
  all public methods of `RedisCache`.
- Covered various scenarios, including success cases, cache misses,
  and Redis errors.
- Tested basic operations (Get, Set, Delete, Clear), multi-key
  operations (GetMulti, SetMulti), entity-specific helpers, and the
  `InvalidateEntityType` method.

This effort increased the test coverage for the `internal/platform/cache`
package from 10.3% to 89.7%, contributing to the overall goal of
achieving >80% test coverage for the project.
2025-10-08 21:28:56 +00:00
..
auth feat: Implement critical features and fix build 2025-10-05 18:29:18 +00:00
cache test: Increase test coverage for internal/platform/cache 2025-10-08 21:28:56 +00:00
config This commit introduces a series of significant improvements to bring the codebase closer to a production-ready state. 2025-10-08 17:25:02 +00:00
db This commit introduces a series of significant improvements to bring the codebase closer to a production-ready state. 2025-10-08 17:25:02 +00:00
http Chore: Clean up lint warnings and improve code quality 2025-10-07 13:14:01 +00:00
log feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00
openlibrary feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00
search feat: Complete large-scale refactor and prepare for production 2025-10-07 11:09:37 +00:00