-
Notifications
You must be signed in to change notification settings - Fork 1
Download and Install
Lucas Persson edited this page Aug 29, 2015
·
13 revisions
To download and install JICUnit you currently have the following options.
Add a dependency to org.jicunit:jicunit-framework
using compile
scope in the test WAR project. Scope compile
is used so that the jicunit-framework.jar
JAR gets pulled into the WAR. Also JUnit JAR (junit:junit
) should have compile
scope since that JAR is also needed in the WAR.
<dependency>
<groupId>org.jicunit</groupId>
<artifactId>jicunit-framework</artifactId>
<version>0.1.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>compile</scope>
</dependency>
The org.jicunit:jicunit-framework
artifact depends on junit:junit
and org.primefaces:primefaces
so those JARs will also be included into the test WAR
Download the following JAR and put it on your test classpath:
jicunit-framework.jar
junit.jar
-
hamcrest-core.jar
needed by JUnit primefaces.jar
Download the Eclipse plugin org.jicunit_1.0.0.jar and save it under Eclipse's plugin folder. Restart Eclipse.