everettraven / everettraven/telescopia

Write unit tests for `NamespaceScopedCache`

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

## Description
We need to add unit tests for the `NamespaceScopedCache` implemented in https://github.com/everettraven/telescopia/blob/main/pkg/cache/namespace_cache.go

If needed, some refactoring can be done to make the code easier to test, read, understand, and maintain.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading pkg/cache/namespace_cache.go and identify the behavior and edge cases of NamespaceScopedCache. Add unit tests that cover its existing behavior and verify they pass; refactor the implementation only if needed to make those tests practical and the code easier to understand.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.