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

第二次執行新增單元測試隔離功能 #19

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

LiouPinChen
Copy link

在寫單元測試時,會把很多元件進行隔離,Goz 沒有隔離的能力,這裡又很喜歡用Goz,但是這個我無法寫單元測試
比如一個程式是有二個主程式A B組成時,這時會發生一個狀況,當A程式更改時,會造成B程式的單元測試瓦解。當B程式更改時,會造成A程式的單元測試故障,所以在單元測試時,隔離的能力對我來說是很重要
我對Goz程式進行最小幅度的更改,並自己寫一個單元測試去證明這個修改方式可以增強 Goz 的單元測試的能力,謝謝
圖片

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