Skip to content

test: Add comprehensive unit tests for middleware functions in checks…#151

Merged
Aravinda-HWK merged 1 commit intomainfrom
142-task-improve-the-test-coverage-of-raveninternalservermiddleware-folder
Nov 25, 2025
Merged

test: Add comprehensive unit tests for middleware functions in checks…#151
Aravinda-HWK merged 1 commit intomainfrom
142-task-improve-the-test-coverage-of-raveninternalservermiddleware-folder

Conversation

@Aravinda-HWK
Copy link
Copy Markdown
Collaborator

📌 Description

This PR is to improve the test coverage of the middleware functions in the internal/sever folder.
Test Coverage: 100%


🔍 Changes Made

  • Write the test cases for the middleware folder.

✅ 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 merged commit 85dca07 into main Nov 25, 2025
12 checks passed
@Aravinda-HWK Aravinda-HWK deleted the 142-task-improve-the-test-coverage-of-raveninternalservermiddleware-folder branch November 25, 2025 05:34
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] Improve the test coverage of raven/internal/server/middleware folder

2 participants