測試框架:truth

xf3f 9年前發布 | 11K 次閱讀 truth 單元測試

Truth 是一個用于測試的 assertion/proposition 框架。它能夠用來取代 JUnit's assertions, FEST,  Hamcrest's matchers 等情況。

Truth is an assertion/proposition framework appropriate for testing, inspired by FEST, and driven by some extensibility needs, written nearly entirely by Google employees in their spare time or contributing in their capacity as Java core librarians.

Truth can be used in place of JUnit's assertions, FEST, or Hamcrest's matchers, or it can be used alongside where other approaches seem more suitable.

項目主頁:http://www.baiduhome.net/lib/view/home/1429883307338

 本文由用戶 xf3f 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!