[問題] Testify Pythoinc的單元測試框架

看板Python作者 (yshihyu)時間11年前 (2014/12/05 01:19), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/2 (看更多)
http://segmentfault.com/a/1190000000358572 最近在研究 unit test 看到有人使用 python 做單元測試 C/C++ 將 C/C++ 編譯成 so 動態函數庫 , 在使用ctypes 的CDLL 載入so 進行單元測試 , 那我看網路上還有提到 Testify 可以取代 python 的 unittest 有想個問題想請問一下有使用過的朋友 1. Testify 能完成取代 unittest? 2. 使用 ctypes的 CDLL載入so 做單元測試 跟 gtest , cppunit , cunit 相比較之下有什麼缺點 or 限制嗎? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 112.104.128.190 ※ 文章網址: http://www.ptt.cc/bbs/Python/M.1417713593.A.FA6.html

12/11 08:10, , 1F
Cython 應該比較簡單
12/11 08:10, 1F
文章代碼(AID): #1KW9Uv-c (Python)
文章代碼(AID): #1KW9Uv-c (Python)