[PR #1749] [MERGED] Add tests for accessibility, parse_dom_outlinks, and consolelog plugins #4513

Closed
opened 2026-03-15 01:48:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1749
Author: @pirate
Created: 12/31/2025
Status: Merged
Merged: 12/31/2025
Merged by: @pirate

Base: devHead: claude/analyze-test-coverage-mWgwv


📝 Commits (4)

  • cfa5edb Add tests for accessibility, parse_dom_outlinks, and consolelog plugins
  • 9703a8e Add tests for responses, staticfile, and env provider plugins
  • 263335d Add tests for merkletree and custom binary provider plugins
  • 1f84d1b Fix test assertions to fail when data is missing

📊 Changes

16 files changed (+1072 additions, -0 deletions)

View changed files

archivebox/plugins/accessibility/tests/__init__.py (+1 -0)
archivebox/plugins/accessibility/tests/test_accessibility.py (+121 -0)
archivebox/plugins/consolelog/tests/__init__.py (+1 -0)
archivebox/plugins/consolelog/tests/test_consolelog.py (+123 -0)
archivebox/plugins/custom/tests/__init__.py (+1 -0)
archivebox/plugins/custom/tests/test_custom_provider.py (+149 -0)
archivebox/plugins/env/tests/__init__.py (+1 -0)
archivebox/plugins/env/tests/test_env_provider.py (+159 -0)
archivebox/plugins/merkletree/tests/__init__.py (+1 -0)
archivebox/plugins/merkletree/tests/test_merkletree.py (+157 -0)
archivebox/plugins/parse_dom_outlinks/tests/__init__.py (+1 -0)
archivebox/plugins/parse_dom_outlinks/tests/test_parse_dom_outlinks.py (+123 -0)
archivebox/plugins/responses/tests/__init__.py (+1 -0)
archivebox/plugins/responses/tests/test_responses.py (+118 -0)
archivebox/plugins/staticfile/tests/__init__.py (+1 -0)
archivebox/plugins/staticfile/tests/test_staticfile.py (+114 -0)

📄 Description

Summary

Related issues

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Snapshot data layout on disk

Summary by cubic

Adds integration tests for accessibility, parse_dom_outlinks, consolelog, responses, staticfile, env, merkletree, and custom plugins. Uses headless Chrome for page hooks and PATH/commands for env/custom; validates outputs (fails if data missing, reports JSON errors) and skips when Chrome is unavailable.

Written for commit 1f84d1b467. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ArchiveBox/ArchiveBox/pull/1749 **Author:** [@pirate](https://github.com/pirate) **Created:** 12/31/2025 **Status:** ✅ Merged **Merged:** 12/31/2025 **Merged by:** [@pirate](https://github.com/pirate) **Base:** `dev` ← **Head:** `claude/analyze-test-coverage-mWgwv` --- ### 📝 Commits (4) - [`cfa5edb`](https://github.com/ArchiveBox/ArchiveBox/commit/cfa5edb160d070dca4d2a1d0f14ae0d84cb4f27c) Add tests for accessibility, parse_dom_outlinks, and consolelog plugins - [`9703a8e`](https://github.com/ArchiveBox/ArchiveBox/commit/9703a8e88cf429424c5c17929941e09971b77e01) Add tests for responses, staticfile, and env provider plugins - [`263335d`](https://github.com/ArchiveBox/ArchiveBox/commit/263335dc6d10d6e6d9c67823dc352b7db5c1b142) Add tests for merkletree and custom binary provider plugins - [`1f84d1b`](https://github.com/ArchiveBox/ArchiveBox/commit/1f84d1b46721e2b2bd9ff0e62831f1d21bf6556d) Fix test assertions to fail when data is missing ### 📊 Changes **16 files changed** (+1072 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `archivebox/plugins/accessibility/tests/__init__.py` (+1 -0) ➕ `archivebox/plugins/accessibility/tests/test_accessibility.py` (+121 -0) ➕ `archivebox/plugins/consolelog/tests/__init__.py` (+1 -0) ➕ `archivebox/plugins/consolelog/tests/test_consolelog.py` (+123 -0) ➕ `archivebox/plugins/custom/tests/__init__.py` (+1 -0) ➕ `archivebox/plugins/custom/tests/test_custom_provider.py` (+149 -0) ➕ `archivebox/plugins/env/tests/__init__.py` (+1 -0) ➕ `archivebox/plugins/env/tests/test_env_provider.py` (+159 -0) ➕ `archivebox/plugins/merkletree/tests/__init__.py` (+1 -0) ➕ `archivebox/plugins/merkletree/tests/test_merkletree.py` (+157 -0) ➕ `archivebox/plugins/parse_dom_outlinks/tests/__init__.py` (+1 -0) ➕ `archivebox/plugins/parse_dom_outlinks/tests/test_parse_dom_outlinks.py` (+123 -0) ➕ `archivebox/plugins/responses/tests/__init__.py` (+1 -0) ➕ `archivebox/plugins/responses/tests/test_responses.py` (+118 -0) ➕ `archivebox/plugins/staticfile/tests/__init__.py` (+1 -0) ➕ `archivebox/plugins/staticfile/tests/test_staticfile.py` (+114 -0) </details> ### 📄 Description <!-- IMPORTANT: Do not submit PRs with only formatting / PEP8 / line length changes. --> # Summary <!--e.g. This PR fixes ABC or adds the ability to do XYZ...--> # Related issues <!-- e.g. #123 or Roadmap goal # https://github.com/pirate/ArchiveBox/wiki/Roadmap --> # Changes these areas - [ ] Bugfixes - [ ] Feature behavior - [ ] Command line interface - [ ] Configuration options - [ ] Internal architecture - [ ] Snapshot data layout on disk <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds integration tests for accessibility, parse_dom_outlinks, consolelog, responses, staticfile, env, merkletree, and custom plugins. Uses headless Chrome for page hooks and PATH/commands for env/custom; validates outputs (fails if data missing, reports JSON errors) and skips when Chrome is unavailable. <sup>Written for commit 1f84d1b46721e2b2bd9ff0e62831f1d21bf6556d. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 01:48:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#4513
No description provided.