OpenMRS/openmrs-module-htmlformentry — pull request #4 by kishoreyekkanti (2012-01-30 13:34:23+00:00)
Title: Release Tests

This contains the basic infrastructure to write release tests for any modules. Run the shell script releasetests.sh or run the command mvn integration-test -DskipTests -Pintegration-test '-Dtest=*' -Ddatabase_user_name=root -Ddatabase_root_password=password to run the initial/sample test. This by default bundles the module under 1.10.0-SNAPSHOT version. If you want to bundle this under 1.9.0-SNAPSHOT use option '-DopenMRSVersion=1.9.0-SNAPSHOT'

All the release tests will run with a dedicated database by name of the 'openMRSVersion' you've specified during running the command. Look for the corresponding properties file in you home/root/application directory of the OS you are working with.

If you want to run specific migrations on your test database use the command
mvn -P start-test-server jetty:run-exploded -DskipTests