maven - Starting of the Apache tomcat server before integration test -
i've been looking solution last 4 days , raised question bounty still not getting answer.
where i've succeeded pf pom.xml file:- a) starting tomcat server manually using command i.e mvn tomcat7:run. command me deploying of war file tomcat server , starting server. b) running integration tests using testng.xml file configuration on eclipse.
where i'm failed pf pom.xml file:-
a) automatically starting of tomcat server. b) running integration tests. c) stopping of tomcat server.
this question posted me couldn't find answer starting apache server before integration testing not working
please i'm wrong.
it looks have tomcat start , stop bound pre-integration-test , post-integration-test phases, testng stuff being run during test phase, comes before integration-test phases. other responder said - should running:
mvn clean verify -x
... you're catching phases through post-integration-test (and catching debug information troubleshooting), should bind testng components integration-test phase.
Comments
Post a Comment