問題描述
我需要使用 mockito 為現(xiàn)有代碼創(chuàng)建單元測(cè)試框架.我找不到開始學(xué)習(xí) Mockito 的好地方.你能給我指出一個(gè)很好的mockito學(xué)習(xí)資源嗎?(在線資源或其他)
i am required to use mockito to create unit testing framework for existing code. I am unable to find a good place to get started with learning Mockito. Could you please point me to a good learning resource for mockito? (online resource or otherwise)
推薦答案
在幫我開始" 在 Google mockito 討論組 上的主題,mockito 的項(xiàng)目負(fù)責(zé)人 Szczepan Faber 建議:
In the "Help me to start" thread on the mockito discussion group on Google, Szczepan Faber, the project owner of mockito, suggests:
- 文檔包括一些例子
- Brett L. Schuchert 的教程
- the Documentation which includes some examples
- Brett L. Schuchert's tutorial
我會(huì)看看 Szczepan mockito 類別 中的帖子="http://monkeyisland.pl/" rel="nofollow noreferrer">博客.
I'd take a look at the posts in the mockito category of Szczepan's blog too.
這篇關(guān)于mockito 的學(xué)習(xí)資源的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!