lllin000_PaperForge/tests
Research Assistant 2cb223ddbb feat(53-001): extract src/ modules from main.js and add Vitest test infrastructure
- runtime.js: resolvePythonExecutable, getPluginVersion, checkRuntimeVersion
- errors.js: classifyError, buildRuntimeInstallCommand, parseRuntimeStatus
- commands.js: ACTIONS, buildCommandArgs, runSubprocess
- package.json with vitest + obsidian-test-mocks + jsdom
- vitest.config.ts with jsdom environment
- 42 Vitest tests across 3 test files
- Refactored main.js to import from src/ modules
2026-05-09 00:05:19 +08:00
..
cli feat(52-golden-datasets-cli-contracts): add CLI contract tests with snapshot integration 2026-05-08 23:32:03 +08:00
e2e feat(53-001): extract src/ modules from main.js and add Vitest test infrastructure 2026-05-09 00:05:19 +08:00
fixtures test(11-01): add test_path_normalization.py with 25 test methods 2026-04-24 20:30:32 +08:00
sandbox feat: restore phases 31-34 from stash — dashboard multi-view, deep-reading mode, jump button, planning docs 2026-05-06 15:14:36 +08:00
conftest.py test: prefer repo source for OCR doctor fixtures 2026-05-08 17:47:45 +08:00
test_asset_index.py feat(25-01): add summarize_index() helper to asset_index.py 2026-05-04 11:22:46 +08:00
test_asset_index_integration.py test: align deep-reading expectations with main-note workflow 2026-05-08 17:47:46 +08:00
test_asset_state.py test: align deep-reading expectations with main-note workflow 2026-05-08 17:47:46 +08:00
test_base_preservation.py chore: complete v1.9 Frontmatter Rationalization & Library-Record Deprecation 2026-05-07 10:11:42 +08:00
test_base_views.py fix(46-index-path-resolution): update tests for removed LIBRARY_RECORDS and config-resolved paths 2026-05-07 19:03:04 +08:00
test_cli_paths.py fix: VaultStep.__init__ missing step_id and checker in super() call 2026-04-27 19:49:36 +08:00
test_cli_worker_dispatch.py fix(23): use Beijing time (UTC+8) for index timestamp, fix test stub signature 2026-05-04 01:08:13 +08:00
test_command_docs.py test: align deep-reading expectations with main-note workflow 2026-05-08 17:47:46 +08:00
test_config.py fix(46-index-path-resolution): fix config env var typo, library_records path, and CONFIG_PATH_KEYS (PATH-02, PATH-03, PATH-04) 2026-05-07 19:00:04 +08:00
test_context.py test(26-02): write 14 tests for context command modes and provenance output 2026-05-04 12:45:52 +08:00
test_discussion.py feat(49-module-hardening): discussion.py hardening — UTC timestamps, MD escaping, file locking 2026-05-07 20:06:16 +08:00
test_doctor.py chore: rename PaperForge Lite -> PaperForge across 27 files 2026-04-28 01:25:51 +08:00
test_e2e_pipeline.py test(merge-gate): add upgrade migration and index path integrity tests 2026-05-07 21:52:16 +08:00
test_ld_deep_config.py test(47-library-records): update ld_deep tests for removed records key 2026-05-07 19:22:51 +08:00
test_ld_deep_postprocess.py feat: add postprocess-pass2 molecule for validating Pass 2 output 2026-04-28 00:24:31 +08:00
test_ld_deep_skel.py feat: add fixed sub-headings to figure/table callout blocks in skeleton 2026-04-28 00:15:48 +08:00
test_legacy_worker_compat.py refactor(17-dead-code-precommit): remove delegation wrappers and dead code, run ruff cleanup 2026-04-27 17:40:47 +08:00
test_migration.py test: align deep-reading expectations with main-note workflow 2026-05-08 17:47:46 +08:00
test_ocr_classify.py fix: VaultStep.__init__ missing step_id and checker in super() call 2026-04-27 19:49:36 +08:00
test_ocr_doctor.py fix: L2 diagnostic accepts 400 as reachable (PaddleOCR rejects bare POST without fileUrl) 2026-04-27 20:41:49 +08:00
test_ocr_preflight.py feat: persistent OCR poll until completion; fix OpenCode commands for pip install; fix test hangs; add command_files to package 2026-04-27 22:52:03 +08:00
test_ocr_rendering.py test(merge-gate): add upgrade migration and index path integrity tests 2026-05-07 21:52:16 +08:00
test_ocr_state_machine.py test(merge-gate): add upgrade migration and index path integrity tests 2026-05-07 21:52:16 +08:00
test_path_normalization.py fix: add creators/extra to load_export_rows row dict, fix journal key lookup for first_author/journal/IF in library-records; add first_author, journal, impact_factor columns to Base views; fix PDF storage/ subdirectory resolution 2026-04-27 20:25:35 +08:00
test_pdf_resolver.py fix: add creators/extra to load_export_rows row dict, fix journal key lookup for first_author/journal/IF in library-records; add first_author, journal, impact_factor columns to Base views; fix PDF storage/ subdirectory resolution 2026-04-27 20:25:35 +08:00
test_plugin_install_bootstrap.py test: align deep-reading expectations with main-note workflow 2026-05-08 17:47:46 +08:00
test_prepare_rollback.py fix: VaultStep.__init__ missing step_id and checker in super() call 2026-04-27 19:49:36 +08:00
test_repair.py fix(50-repair-blind-spots): replace bare except:pass + add --fix else clause (REPAIR-02/03) 2026-05-07 20:20:25 +08:00
test_selection_sync_pdf.py test(merge-gate): add upgrade migration and index path integrity tests 2026-05-07 21:52:16 +08:00
test_setup_wizard.py test(merge-gate): add upgrade migration and index path integrity tests 2026-05-07 21:52:16 +08:00
test_smoke.py fix: v1.4.17rc2 — OCR quote fix, 4-stage lifecycle, .env fallback, Codex support, deep-reading anchors, auto-update pip 2026-05-08 01:26:04 +08:00
test_status.py feat(49-module-hardening): asset_state.py + status.py hardening — reorder checks, empty dicts 2026-05-07 20:06:24 +08:00
test_utils_journal.py docs(v1.4): commit planning artifacts, test files, and phase summaries for phases 13-19 2026-04-27 19:12:03 +08:00
test_utils_json.py docs(v1.4): commit planning artifacts, test files, and phase summaries for phases 13-19 2026-04-27 19:12:03 +08:00
test_utils_slugify.py fix: harden repair paths, slugify edge case, OCR meta resilience, venv python detection, and repair exit handling 2026-05-06 22:09:29 +08:00
test_utils_yaml.py docs(v1.4): commit planning artifacts, test files, and phase summaries for phases 13-19 2026-04-27 19:12:03 +08:00