Hi guys, I want to deploy my .ear on glassfish and then I want coverage during the phase of remote test that are connected with the .ear on ssh.
Something like this: http://markmail.org/thread/53peu4dgj2x6vnk6 Could you help me? How can I instrument the .ear for coverage on glassfish? In few words I have a multi module project and during "mvn package" I produce an .ear that later I deploy on my Application Server. Now you have to immaginate that my application is connected with other nodes in a network and so these nodes comunicate together. My problem is that I want to produce coverage when I start some remote test (Function test in this case) . I know that if I instrument the .ear correctly during the mvn package , later I can produce coverage when I use the logic of the .ear and when the application server dead produce the coverage that I want. I see also that EMMA probably is a good plugin for this example, something like this: maven emma:on war ( You'll call emma:on followed by whatever other goal you wish (for example maven emma:on war.) This will instrument your source code. Then you'll run any goal that tests your artifacts. For example in the case of a WAR you can use HttpUnit/HtmlUnit to run functional tests. The test of your artifact will fill the EMMA database with data. Finally you'll run emma:report to generate the reports to .../target/docs/coverage.. ) thank you in advance. Prisco Thank you Prisco -- View this message in context: http://maven.40175.n5.nabble.com/Maven-Coverage-on-Application-Server-Glassfish-tp5710497.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
