uwenku
標簽列表
fudge
1
熱度
1
回答
如何存根對象的__call__方法?
我正在使用Nose和Fudge進行單元測試。考慮下面的類: class Foo(): def __init__(self, some_commandline): self._some_commandline = commandline def process(self): stdout, stderr = self._commandline()
python
unit-testing
nose
fudge
2013-08-22
1
熱度
1
回答
Automocking for Python?
我習慣於在C#中使用AutoFixture.AutoMoq,並且想知道是否有類似的東西可用於Python。我不使用django或數據庫,所以django-autofixture是而不是要幫助我。 我正在尋找的東西,減少了我需要編寫的代碼來設置所有我與stub/mock相關的對象進行測試。我正在使用IoC模式進行設計(但沒有DI框架since Python doesn't really need t
python
unit-testing
nose
automocking
fudge
2013-08-25
最新問題
1.
ABCreateStringWithAddressDictionary棄用
2.
將一個字符串的第一個實例替換爲一個變量或其他唯一字符串
3.
從psd獲取座標
4.
在TextView中更改textSize
5.
用於日常報告
6.
如何更新卡片視圖佈局點擊它時?
7.
如何在ns3中實現GPSR算法?
8.
MVC/Entity Framework編輯動作
9.
PL/SQL:如何將行組合成一個字符串
10.
如何在Google端點響應中發送自定義標頭