Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建立基本的各種物件的自動化測試 #92

Open
2 tasks
ddio opened this issue Oct 25, 2021 · 0 comments
Open
2 tasks

建立基本的各種物件的自動化測試 #92

ddio opened this issue Oct 25, 2021 · 0 comments

Comments

@ddio
Copy link
Contributor

ddio commented Oct 25, 2021

問題

當 591 調整界面時,因為需要重頭測試各種狀況,只能憑經驗,重新讀過一次程式碼。但因為資料轉換的邏輯,通常很繁瑣,也需要集合多個實際的物件,才可能完整測到,開發起來相當費時,也無法確定含蓋到所有情況。

解法

  • unit test: detail_mixin > gen_detail_shared_attrs
  • unit test: list_mixin > gen_shared_attrs
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

No branches or pull requests

1 participant