Cactus使用体验

第一部分
一、文件夹内的内容

  • cactus.jar: the main jar, contains the framework classes. You can find this jar in [cactus root]/lib.
  • cactus-ant.jar: a jar which contains some custom Ant tasks to help integrate easily with Ant. This is only needed if you wish to use Ant for automating the execution of Cactus tests. You also find this jar in [cactus root]/lib.
  • httpclient.jar: Cactus is relying on the Jakarta Commons HttpClient framework for Cookie handling.
  • junit.jar: Cactus extends JUnit and thus needs the JUnit jar.
  • aspectjrt.jar: Cactus uses AspectJ for performing several tasks (logging entries and exit of methods, checking configuration, etc).
  • commons-logging.jar: Cactus uses the Jakarta Commons Logging facade framework to provide seamless Cactus logging using any existing Logging framework (Log4j, LogKit, JDK 1.4 Logging, etc). It is also needed for Commons HttpClient.
  • servletapi.jar: Required for compiling the Servlet sample. Ideally we should be bundling the J2EE jar (which is required for compiling the EJB sample). However the Sun license does not allow us to redistribute it so you'll need to download it by yourself (see the Sample howto page.
  • httpunit.jar: Cactus uses the HttpUnit framework to perform complex assertions of returned responses. Cactus also bundles a default web response object but the HttpUnit one should be preffered for complex assertions.
  • nekohtml.jar: Required by HttpUnit.

二、Cactus 使用
 Cactus plugin for Eclipse Not Available,但是可以利用JUnit插件继承JUnit框架继续测试。
如果出现ChainedRuntimeException错误,应该是cactus.properties没有在calsspath中,可以通过Windows->Perferences设置。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值