C++單元測試框架,crpcut 1.7.1 發布

openkk 12年前發布 | 5K 次閱讀 C/C++

crpcut 是一款 C++ 的單元測試框架,發音是 Copy and Cut。


crpcut 1.7.1 修復了輸出緩沖的 bug。

  • With crpcut it is easy to write tests. You focus on test structure and test logic, rather than the frames imposed by your test system.

  • With crpcut every test runs in its own process and its own working directory. If a test fails, the process is killed before it does further harm. This means that every test starts from a clean slate, unaffected by other tests.

  • With crpcut a test can crash or enter an infinite loop, without ill effects to the other tests.

  • With crpcut you can set real-time and cpu-time constraints on tests. If they're severely overdrawn, the test case process is killed.

  • With crpcut you can stub almost any system library function, or add filters that affects their result.

  • With crpcut you can limit heap availability to a test case, and test for memory leaks.

  • With crpcut you can define dependencies between tests and between testsuites, so that if a fundamental test fails, those depending on it need not clutter the test report.

C++單元測試框架,crpcut 1.7.1 發布

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