[ http://jira.codehaus.org/browse/MCOBERTURA-34?page=comments#action_65136
]
Pierre-Henri Delaval commented on MCOBERTURA-34:
------------------------------------------------
here is the maven log:
[EMAIL PROTECTED] $ mvn integration-test
[INFO] Scanning for projects...
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Unnamed - cola:Patient:ejb:0.0.1-SNAPSHOT
[INFO] task-segment: [integration-test]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 5 source files to
/home/phde/MyProjects/COLA_WORKSPACE/Patient/target/
classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 2 source files to
/home/phde/MyProjects/COLA_WORKSPACE/Patient/target/
test-classes
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [ejb:ejb]
[INFO] Building ejb Patient-0.0.1-SNAPSHOT
[INFO] Building jar:
/home/phde/MyProjects/COLA_WORKSPACE/Patient/target/Patient
-0.0.1-SNAPSHOT.jar
[INFO] [cobertura:instrument {execution: instrument}]
[INFO] Cobertura 1.7 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
Instrumenting 7 classes to
/home/phde/MyProjects/COLA_WORKSPACE/Patient/target/g
enerated-classes/cobertura
Cobertura: Saved information on 5 classes.
Instrument time: 772ms
[INFO] Instrumentation was successful.
[INFO] [cargo:start {execution: start-container}]
[INFO] [surefire:test {execution: default}]
[INFO] Setting reports dir:
/home/phde/MyProjects/COLA_WORKSPACE/Patient/target/
surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
[surefire] Running be.cola.patient.PatientBeanTest
Cobertura: Loaded information on 5 classes.
DEBUG be.cola.patient.PatientBean - createPatientBean(String
id=1e4956ba7f000001
00e4f9724d85d8f0, String lastName=1e4956c37f00000100b4d3d5d742b4f5, String
first
Name=1e4956c47f00000101bf52a56efc6cee, Date birthDate=Wed May 10 14:33:10 CEST
2 006, String
address=1e4956c77f00000101cafa9e9b038f9e, String city=1e4956c77f0000
01010b9d04e0b5ff7e, String
zipCode=1e4956c77f0000010171732bf168646f) - start
DEBUG org.jboss.security.SecurityAssociation - Using ThreadLocal: false
DEBUG org.jboss.remoting.Client - invoke called, but our invoker is
disconnected , discarding and
fetching another fresh invoker for: InvokerLocator [socket://12
7.0.0.1:3873/]
DEBUG org.jboss.remoting.transport.socket.SocketClientInvoker - connect called
f or: [EMAIL PROTECTED]
DEBUG be.cola.patient.PatientBean - getId() - start
DEBUG be.cola.patient.PatientBean - getId() - end - return
value=1e4956ba7f00000
100e4f9724d85d8f0
WARN be.cola.patient.PatientBean - Comparing only Bean Id !!!
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.229 sec
Cobertura: Saved information on 5 classes.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 20 seconds
[INFO] Finished at: Wed May 10 14:33:15 CEST 2006
[INFO] Final Memory: 7M/16M
[INFO] ------------------------------------------------------------------------
> Test failds on a part on my class with EJB on jboss
> ---------------------------------------------------
>
> Key: MCOBERTURA-34
> URL: http://jira.codehaus.org/browse/MCOBERTURA-34
> Project: Maven 2.x Cobertura Plugin
> Type: Bug
> Environment: Jboss 4
> Maven
> cobertura 1.7
> Reporter: Pierre-Henri Delaval
> Attachments: pom.xml
>
>
> I use cobertura to check my test complétion on a simple ejb project
> This project need jboss running to test all test case client and server side.
> I use cargo to start the jboss server
> then deploy the ear
> and integration tests are done with corebtura during the integration-test
> maven's phase
> But all tests are not seen by cobertura.
> When i start jboss manually and run my tests in the maven's test phase , it
> is ok.
> Here attached is my pom.xml
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira