kernelci / kernelci/dashboard

Update backend unit tests coverage for kernelci_cache

Open
#1,501 0 comments 0 reactions 0 assignees View on GitHub
Backend enhancement
Dominant language
Python
Stars
9
Forks
31
Avg merge
3d 19h
Merged PRs (30d)
16

Description

Currently, the backend unit test coverage is around 40%.
The goal is to increase this coverage by adding tests across the entire backend codebase.

## General
- [ ] **checkouts.py** - current: 0%
- [ ] **utils.py** - current: 33%

## Queries
- [ ] **issues.py** - current: 20%
- [ ] **notifications.py** - current: 27%
- [ ] **tree.py** - current: 38%

# Related Issues
- #1494

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the backend unit-test layout and the listed files: checkouts.py, utils.py, issues.py, notifications.py, and tree.py. Run the existing coverage workflow to confirm the reported baseline, then add tests for uncovered behavior across those files. Done means the backend coverage is increased and the new tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.