JUnit Test Requirements
The first thing to do is make sure that the components will work on the platform. The MysqldResource
class is really a wrapper for a native version of MySQL, so not all platforms are supported. At the time of this writing, Linux on the i386 architecture has been tested and seems to work quite well, as does OS X v10.3. There has been limited testing on Windows and Solaris.
Requirements:
- JDK-1.4 or newer (or the JRE if you aren't going to be compiling the source or JSPs).
- MySQL Connector/J version 5.0 or newer (from http://dev.mysql.com/downloads/connector/j/) installed and available using your CLASSPATH.
- The
javax.management
classes for JMX version 1.2.1, these are present in the following application servers:- JBoss - 4.0rc1 or newer.
- Apache Tomcat - 5.0 or newer.
- Sun's JMX reference implementation version 1.2.1 (from http://java.sun.com/products/JavaManagement/).
- JUnit 3.8.1 (from http://www.junit.org/).
If building from source, All of the requirements from above, plus:
- Ant version 1.5 or newer (download from http://ant.apache.org/).