Bug #5294
openEnable Junit test on http://dev-testing.dataone.org:8080/hudson/job/Metacat/
0%
Description
Currently in hudson test, the build will run "ant clean war" to verify the new commitment code would not break the build. We need another further step: enable junit tests.
In order to run the junit test on hudson, Metacat should be configured. Currently the metacat/lib/metacat.properties are not configured. User should use admin page to do the configuration. We need to modify metacat.properties to make it configured.
Here are some properties need to be modified in metacat.properties:
database.user=
database.password=
database.type=
database.driver=
database.adapter=
test.metacatDeployDir=
configutil.propertiesConfigured=false
configutil.authConfigured=false
configutil.skinsConfigured=false
configutil.databaseConfigured=false
configutil.geoserverConfigured=false
In test.properties:
metacat.contextDir
In build.properties:
build.tomcat.dir
app.deploy.dir
After modifying above properties file, when a developer to build a installer, he has to modify those properties:
configutil.propertiesConfigured
configutil.authConfigured
configutil.skinsConfigured
configutil.databaseConfigured
configutil.geoserverConfigured
Otherwise, the amdin servlet will be bypassed.
We also need to figure out how to deploy the service in dev-testing.dataone.