JUnit 扩展 Feed4JUnit 1.1.1 发布

openkk 12年前
     <p>Feed4JUnit能够让编写JUnit的 参数化测试变得简便,并为这些测试提供预定义或随机测试数据。它能够从业务分析人员定义好的CVS或 Excel文件读取测试用例数据并在构建/单元测试框架中报告测试成功。利用Feed4JUnit能够很方便用随机但校验过的数据执行冒烟测试来提高代码 代码覆盖率和发现由非常特殊的数据结构产生的Bug。此外还可以利用Feed4JUnit轻松定义等价类测试。<br /> <br /> Feed4JUnit 1.1.1 发布了,该版本支持从 CSV 文件中导入完整的 JavaBean 图表。</p>    <p> </p>    <p>示例代码:</p>    <pre class="brush:java; toolbar: true; auto-links: false;">@RunWith(Feeder.class)  public class LoginTest {        @Test      @InvocationCount(10)      public void testLogin(String name, String password) {          System.out.println("name:" + name + " password:" + password);      }  }</pre>    <br />    <p><img alt="JUnit 扩展 Feed4JUnit 1.1.1 发布" src="https://simg.open-open.com/show/20a32e059df6a5f31567134ea2b207f7.png" width="477" height="446" /><br /> <br /> <span style="font-weight:bold;">项目地址:</span><a style="font-weight:bold;" href="/misc/goto?guid=4958195117596376497" target="_blank">http://databene.org/feed4junit.html</a></p>