test: 补充新功能集成测试 + 冒烟测试 + 前端组件测试#59
Open
bob798 wants to merge 2 commits into
Open
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
新增测试文件: - tests/test_articles_episodes_integration.py — /articles/episodes/* 路由集成测试 (10) - tests/test_library_smoke.py — Library 冒烟 + 边界测试 (17) - frontend/.../tokenize-edge.spec.js — tokenize 分词边界用例 (10) - frontend/.../WordCard.spec.js — WordCard 组件测试 (6) 覆盖: - #42: series 字段在 API 响应中的验证、episodes 过滤、start/rate/due 端点 - #46: stream explain 回填、refetch、空输入边界、超长文本截断 - #43: emoji/CJK/标点/换行分词边界、WordCard 渲染/交互/事件 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
为 Issue #42 / #46 / #43 三大新功能补齐测试覆盖:
后端(27 tests):
test_articles_episodes_integration.py—/articles/episodes/*路由集成测试 (10)test_library_smoke.py— Library 冒烟 + 边界测试 (17)前端(16 tests):
tokenize-edge.spec.js— tokenize 分词边界用例 (10)WordCard.spec.js— WordCard 组件测试 (6)修复:
usePractice.spec.js路径/bbc-eaw→/articles/episodesTest plan
🤖 Generated with Claude Code