Setup"
From Documentation
Line 35: | Line 35: | ||
Remember to also add dependencies of your preferred '''unit test framework''', e.g. JUnit or TestNG. | Remember to also add dependencies of your preferred '''unit test framework''', e.g. JUnit or TestNG. | ||
− | + | == Manually == | |
Download the released zip file and add all jar under '''dist/lib''' and '''dist/lib/ext''' into your project's classpath. '''Note that please do not deploy these jars to your application server'''. | Download the released zip file and add all jar under '''dist/lib''' and '''dist/lib/ext''' into your project's classpath. '''Note that please do not deploy these jars to your application server'''. |
Revision as of 08:35, 11 May 2012
Maven Project
If your project is managed by Maven already, you can adopt ZATS Mimic easily by adding a dependency.
For a project depends on ZK 5.0.x, add the following dependency:
<dependency>
<groupId>org.zkoss.zats</groupId>
<artifactId>zats-mimic</artifactId>
<version>1.0.0-RC</version>
<scope>test</scope>
</dependency>
For a project depends on ZK 6.0.0, add the following dependency:
<dependency>
<groupId>org.zkoss.zats</groupId>
<artifactId>zats-mimic-ext6</artifactId>
<version>1.0.0-RC</version>
<scope>test</scope>
</dependency>
Remember to also add dependencies of your preferred unit test framework, e.g. JUnit or TestNG.
Manually
Download the released zip file and add all jar under dist/lib and dist/lib/ext into your project's classpath. Note that please do not deploy these jars to your application server.
Also remember to add jar of your preferred unit test framework, e.g. JUnit.