ChimeraOS / ChimeraOS/chimera

Increase test coverage

Open
#78 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
286
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Currently we're running into issues because we are not really testing much and end up making breaking changes without noticing. I think we should be working on improving this. I propose unit tests to be build for the following:

- [ ] Both types of authentication.
- [ ] Changing the settings.
- [ ] All functions which have routes.
- [x] Tests for all endpoints to check if authentication is asked like expected.

I think this would be most of what would be needed.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the authentication paths, settings-changing code, and functions with routes mentioned in the issue, then review the existing endpoint authentication tests. Done means unit tests cover both authentication types, settings changes, and all routed functions, while preserving the already-covered endpoint authentication checks.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.