Type: New Feature
Affects Version/s: None
Fix Version/s: None
we need to add (to trunk) a suite of tests that can be launched from maven (or ant) that will script a browser to run through the tests listed at.
The framework for writing the tests has been created at the following location
This uses a mysql embedded version and runs a standalone webapp while executing the tests.
download the mysql jar files form this location http://dev.mysql.com/downloads/connector/mxj/
You can follow the steps mentioned at http://svn.openmrs.org/openmrs-contrib/standalone/trunk/readme.txt to make the mysql jar files that you have downloaded maven aware
once you have the mysql jar files
$ git clone git://github.com/zabil/openmrs.git
$ git checkout releasetest
$ export MAVEN_OPTS="-Xmx512m -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -XX:PermSize=64M -XX:MaxPermSize=128M"
$ mvn clean integration-test -DskipTests=true -P integration-test
This will run the tests which will install the openmrs application, create a patient and and observation
To see what the changes as a patch from the openmrs trunk
$ git diff master