Skip to content

test: Add unit tests for db folder#129

Merged
maneeshaxyz merged 1 commit intomainfrom
120-task-add-unit-tests-for-database-layer
Nov 22, 2025
Merged

test: Add unit tests for db folder#129
maneeshaxyz merged 1 commit intomainfrom
120-task-add-unit-tests-for-database-layer

Conversation

@Aravinda-HWK
Copy link
Copy Markdown
Collaborator

@Aravinda-HWK Aravinda-HWK commented Nov 21, 2025

📌 Description

This PR is to add test cases for db folder. Test coverage: 79.6%


🔍 Changes Made

  • Add the test cases for the Database folder
  • Update the ci.yaml file(more organized way)
  • Update the Makefile

✅ Checklist (Email System)

  • Core IMAP commands tested (LOGIN, CAPABILITY, LIST, SELECT, FETCH, LOGOUT).
  • Authentication is tested.
  • Docker build & run validated.
  • Configuration loading verified for default and custom paths.
  • Persistent storage with Docker volume verified.
  • Error handling and logging verified
  • Documentation updated (README, config samples).

🧪 Testing Instructions

To test the server, use the instructions in the README in the test directory.


📷 Screenshots / Logs (if applicable)


⚠️ Notes for Reviewers

@Aravinda-HWK Aravinda-HWK self-assigned this Nov 21, 2025
@Aravinda-HWK Aravinda-HWK linked an issue Nov 21, 2025 that may be closed by this pull request
@Aravinda-HWK Aravinda-HWK marked this pull request as ready for review November 21, 2025 06:43
@maneeshaxyz maneeshaxyz merged commit 9a851f2 into main Nov 22, 2025
9 checks passed
@Aravinda-HWK Aravinda-HWK deleted the 120-task-add-unit-tests-for-database-layer branch November 25, 2025 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TASK] Add Unit Tests for Database Layer

2 participants