功能测试 FEST-Swing
fmms
13年前
<p><span class="hilite1">FEST-Swing</span>是一个用于Swing GUI应用程序功能测试的java开源类库。支持模拟用户交互( 鼠标操作和键盘输入)。支持JDK中的所有Swing组件。提供简洁、强大的API来创建和维护GUI功能测试。</p> <p>FEST 需要Java SE 5.0 或以后版本支持。<br /> </p> <pre class="brush:java; toolbar: true; auto-links: false;"> int removed = employees.removeFired(); assertThat(removed).isZero(); List<Employee> newEmployees = employees.hired(TODAY); assertThat(newEmployees).hasSize(6) .contains(frodo, sam); assertThat(yoda).isInstanceOf(Jedi.class) .isEqualTo(foundJedi) .isNotEqualTo(foundSith);</pre> <br /> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1323346674530" target="_blank">http://www.open-open.com/lib/view/home/1323346674530</a></p> <p></p>