Skip to content
ugupta edited this page Sep 17, 2011 · 1 revision

Running Acceptance Tests

http://mifosforge.jira.com/wiki/display/MIFOS/Running+Acceptance+Tests

DataSet DbUnit Upgrade

  • Create database using base-schema.sql and run expand and contract script from db module upto the last upgrade that was applied on the datasets, and dump that database into last-schema.sql.
  • Use class org.mifos.framework.util.DataSetUpgradeUtil with these parameters

All files

-a <path-to-dataSets-directory> -u root -p mysql -d mifos

Single File

-f <path-to-dataSets-directory>/acceptance_small_008_dbunit.xml.zip -u root -p mysql -d mifos

NOTE: Make sure that database properties in local.properties are same as the one you are using as parameter because liquibase upgrade uses spring context which depends on local.properties

Clone this wiki locally