foxcpp / foxcpp/go-imap-backend-tests

Get rid of go-imap-sql weird abstractions

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Originally, this test suite was developed for testing go-imap-sql. When I moved it into a separate repository, I left all abstractions used by go-imap-sql it in. This makes it harder to adapt it for other backends.

Notable issues:
* UserDB tests block is not relevant to IMAP functionality and should be removed
* Almost all tests assume that they can create new user accounts freely using the UserDB interface, we should instead provide a callback like initBackend and cleanBackend as current solution is not usable for certain types of backends (proxies, bridges, etc).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.