Setup"
Line 54: | Line 54: | ||
For projects depending on '''ZK 5.0.x''': | For projects depending on '''ZK 5.0.x''': | ||
− | Add all jar files under '''dist/lib''' and '''dist/lib/ext''' except '''zats-mimic-ext6.jar''' into your project's classpath. | + | Add all jar files under '''dist/lib''' and '''dist/lib/ext''' <span style="color:red"> except </span> '''zats-mimic-ext6.jar''' into your project's classpath. |
Revision as of 01:46, 7 June 2012
ZATS Mimic
Maven Project
If your project is managed by Maven already, you can adopt ZATS Mimic easily by simply adding a dependency[1]
For projects depending on ZK 5.0.x, add the following dependency:
<dependency>
<groupId>org.zkoss.zats</groupId>
<artifactId>zats-mimic</artifactId>
<version>1.0.0</version>
<scope>test</scope>
</dependency>
For projects depending on ZK 6.0.x, add the following dependency:
<dependency>
<groupId>org.zkoss.zats</groupId>
<artifactId>zats-mimic-ext6</artifactId>
<version>1.0.0</version>
<scope>test</scope>
</dependency>
Also remember to add dependencies of your preferred unit test framework, e.g. JUnit or TestNG.
- ↑ If you didn't setup zk maven repository yet, you have to setup zk maven repository too.
Manually
For projects depending on ZK 6.0.x:
Add all jar files under dist/lib and dist/lib/ext into your project's classpath. Note that please do not deploy these jars to your application server, they are for testing only.
For projects depending on ZK 5.0.x:
Add all jar files under dist/lib and dist/lib/ext except zats-mimic-ext6.jar into your project's classpath.
Also remember to add jar files of your preferred unit test framework, e.g. JUnit.