长沙黑灯舞厅 纬二路:求高手帮忙翻译

来源:百度文库 编辑:高考问答 时间:2024/03/28 17:58:15
Testing JSP with jWebUnit
jWebUnit is another testing framework built on top of JUnit. It also uses HttpUnit, which is a framework for
parsing HTML easily.

jWebUnit makes testing JSP easy by providing a high-level API for navigating web applications. Like StrutsTestCase,
jWebUnit provides methods to verify and assert valid conditions. JWebUnit assertion methods relate to
navigation and the HTML DOM including form entry and submission, validation of table contents and many
common scenarios.

使用jWebUnit测试JSP

jWebUnit是建在Junit之上的另一测试体系。它也用到使分析HTML变得容易的体系HttpUnit。
jWebUnit 提供为网路应用导航的高级API,使得测试 JSP很容易。
像StrutsTestCase,jWebUnit提供验证确定有效条件的办法。JWebUnit的确认方法与导航以及HTML DOM有关,包括表格填充和提交,验证内容表以及许多常用的事项。

和 jWebUnit 的测试 JSP
jWebUnit 是另外的测试结构在 JUnit 的顶端上建造。 资讯科技也使用 HttpUnit, 是的架构
分列容易地的 HTML。

jWebUnit 藉由提供一个高阶层的美国石油协会给使测试的 JSP 容易航行网申请。 像 StrutsTestCase,
jWebUnit 提供方法查证并且断言有效的情况。 JWebUnit 断言方法有关
航行和 HTML 文件对象套式包括形式进入和服从,桌子内容和多数的确认
通常的情节。