id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 384,Add integration tests using maven failsafe plugin,fxp,fxp,"Add tests on a running GeoNetwork node. Tests could be called on any Jeeves services. A utility class is defined to: * easily run request and retrieve response as String or XML * login * load samples * clean catalogue 3 phases: * Pre-integration-test : start Jetty * Integration-test : run tests * Post-integration-test : stop Jetty Integration tests are in: src/test/java/itest/** Run test using: {{{ mvn verify }}} Generate report using (include unit tests and integration tests): {{{ mvn surefire-report:report }}} Links: * http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing * http://maven.apache.org/plugins/maven-failsafe-plugin * http://maven.apache.org/plugins/maven-surefire-report-plugin/usage.html",enhancement,closed,major,,General,,fixed,,