apache / apache/ponymail-unit-tests

Need script tests

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

Description

The current test harness only tests the shared part of the archiver which parses emails.

There need to be some tests for the functioning of the archiver when processing input messages, and for the importer when uploading mail from files.

This will either need a test ES instance, or a way of emulating the behaviour of the ElasticSearch API. Or both.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the shared test harness and trace how the archiver processes input messages and how the importer uploads mail from files. Determine whether a test Elasticsearch instance, an Elasticsearch API emulator, or both are needed. Done means coverage exists for both script paths, including their external search behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, python
Domain
testing
Issue type
Feature
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.