C++单元测试框架,crpcut 1.7.1 发布

openkk 13年前
     <a href="/misc/goto?guid=4958317766562859164" target="_blank">crpcut </a>是一款 C++ 的单元测试框架,发音是 Copy and Cut。    <br />    <p><br /> crpcut 1.7.1 修复了输出缓冲的 bug。</p>    <ul>     <li>With <span class="productname">crpcut</span> it is easy to write tests. You focus on test structure and test logic, rather than the frames imposed by your test system.<p></p> </li>     <li>With <span class="productname">crpcut</span> 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.<p></p> </li>     <li>With <span class="productname">crpcut</span> a test can crash or enter an infinite loop, without ill effects to the other tests.<p></p> </li>     <li>With <span class="productname">crpcut</span> you can set real-time and cpu-time constraints on tests. If they're severely overdrawn, the test case process is killed.<p></p> </li>     <li>With <span class="productname">crpcut</span> you can stub almost any system library function, or add filters that affects their result.<p></p> </li>     <li>With <span class="productname">crpcut</span> you can limit heap availability to a test case, and test for memory leaks.<p></p> </li>     <li>With <span class="productname">crpcut</span> 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. </li>    </ul>    <p><img alt="C++单元测试框架,crpcut 1.7.1 发布" src="https://simg.open-open.com/show/9696b4b9b9f3ca1f1f7c5a5c6fc61c15.png" width="383" height="389" /></p>