openzim / openzim/python-libzim

Use zim-testing-suite in tests

Open
#113 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement stale
Dominant language
Python
Stars
108
Forks
29
Avg merge
9d 1h
Merged PRs (30d)
1

Description

Our reader tests currently uses test zim files from libkiwix's test folder. While those files are still present, I am not sure what the future is for those so we should switch to the more future-proof, stable and appropriate https://github.com/openzim/zim-testing-suite.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the reader tests that use ZIM files from libkiwix's test/data folder, then review the zim-testing-suite for suitable replacements. Update the tests to use the stable suite fixtures and confirm that the reader test coverage still passes with the new files.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.