Java 覆盖测试工具 :EclEmma


http://www.eclemma.org/installation.html#manual


EclEmma 2.2.1 Java Code Coverage for Eclipse EclEmma at SourceForge.net
Eclipse Community Award 2008
JaCoCo
Built on CloudBees
The Java Specialists' Newsletter

Installation

EclEmma ships as a small set of Eclipse plug-ins under the Eclipse Public License. The overall size of the seven plug-ins is about 1 MByte. Like for all standard Eclipse plug-ins there are different installation options. Using the marketplace or update site is the recommended procedure.

Prerequisites

EclEmma requires Eclipse 3.5 or higher and Java 1.5 or higher. It has no dependencies on a particular operating system. Of course your Eclipse installation needs to contain the Java development tools (JDT) which is included in the default SDK installation.

Option 1: Install from Eclipse Marketplace Client Drag and drop into a running Eclipse Indigo workspace to install EclEmma

Since Eclipse 3.6 the Eclipse Marketplace Client allows direct installation of EclEmma from within Eclipse. Follow the steps below or drag and drop the button above into a running Indigo workspace.

1. From your Eclipse menu select HelpEclipse Marketplace.

2. Search for "EclEmma".

3. Hit Install for the entry "EclEmma Java Code Coverage".

4. Follow the steps in the installation wizard.

Option 2: Installation from Update Site

The update site for EclEmma is http://update.eclemma.org/. Perform the following steps to install EclEmma from the update site:

1. From your Eclipse menu select HelpInstall New Software...

2. In the Install dialog enter http://update.eclemma.org/ at the Work with field.

Install Dialog

3. Check the latest EclEmma version and press Next

4. Follow the steps in the installation wizard.

Option 3: Manual Download and Installation

For manual installation please download the latest EclEmma release. Unzip the archive into dropins folder of your Eclipse installation and restart Eclipse:

<your eclipse installation>/
+- dropins/
   +- eclemma-x.y.z/
      +- plugins/
      |  +- ...
      +- feature/
         +- ...

Verification

The installation was successful if you can see the coverage launcher in the toolbar of the Java perspective:

Launching Toolbar


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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值