HarperFast / HarperFast/harper

Add unit tests for more caching permutations

Open
#265 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
89
Forks
10
Avg merge
2d 2h
Merged PRs (30d)
205

Description

There are a number of permutations of expired content, invalidated content, evicted content with and without `onlyIfCached` and used in `get` and `search`, with and without a defined source on the table, that we should offer better coverage for.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing cache unit tests and the implementations of get and search. Map the expired, invalidated, and evicted content cases across onlyIfCached, source presence, and both entry points; done means the listed permutations have focused tests and the suite passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
backend, performance, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.