Skip to content

refactor: refactor typo corrector#118

Draft
SimoneCheng wants to merge 13 commits intomainfrom
test/writing-tests
Draft

refactor: refactor typo corrector#118
SimoneCheng wants to merge 13 commits intomainfrom
test/writing-tests

Conversation

@SimoneCheng
Copy link
Collaborator

@SimoneCheng SimoneCheng commented Feb 2, 2026

What

因為之後預計要重構串接各家 ai 模型的程式碼,將串接相關的程式碼從改錯字的程式碼獨立出來,設定上的部分也要進行重構的調整,所以這邊先寫一些簡單的整合測試,確保之後重構完成之後功能沒問題。

How

用 pytest 來寫測試,每個模型會跑兩個測試,一個是基本的測試,一個是有錯字的測試

@SimoneCheng SimoneCheng self-assigned this Feb 2, 2026
@SimoneCheng SimoneCheng marked this pull request as draft March 12, 2026 15:23
@SimoneCheng SimoneCheng changed the title test: write integration tests for ai model api before refactoring refactor: refactor typo corrector Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant