|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Cobertura.ser after multiple parallel running testsHi everybody,
testing our project is an overnight operation. We're using Ant and Maven 2 as Build-Management-Tools whereas Maven just run the Unittests and generates the reports. Now we're trying to get a coverage-report out of our blackbox-test-phase in Ant. Blackbox-Testing-Tool is QFTest. The Problem is that during the overnight operation multiple blackbox-tests run parallel. Each ending test re-serialize the cobertura.ser-file. How far is Cobertura able to handle this without overwriting the ser-file? What are your ideas? Thanks, Jan |
|
|
Re: Cobertura.ser after multiple parallel running testsHello!
Your right that Cobertura is rewriting ser file on every parallel test. That`s because of Cobertura functionality that is flushes its cache during jvm shutdown. Do some investigation and figure out how to run all Your parallel tests in one jvm. There should be some special key. As far as I know there is no other way. Regards, Uldis, C. T. Co uldis.karlovs-karlovskis@... -----Original Message----- From: Jan81 [mailto:J.Arnet@...] Sent: trešdiena, 2008. gada 8. oktobrī 9:44 To: cobertura-devel@... Subject: [Cobertura-devel] Cobertura.ser after multiple parallel running tests Hi everybody, testing our project is an overnight operation. We're using Ant and Maven 2 as Build-Management-Tools whereas Maven just run the Unittests and generates the reports. Now we're trying to get a coverage-report out of our blackbox-test-phase in Ant. Blackbox-Testing-Tool is QFTest. The Problem is that during the overnight operation multiple blackbox-tests run parallel. Each ending test re-serialize the cobertura.ser-file. How far is Cobertura able to handle this without overwriting the ser-file? What are your ideas? Thanks, Jan -- View this message in context: http://www.nabble.com/Cobertura.ser-after-multiple-parallel-running-tests-tp 19873200p19873200.html Sent from the cobertura-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
Re: Cobertura.ser after multiple parallel running testsProblem solved. Since Cobertura 1.9 the ser-file is logged for re-serializing it.
Thanks
|
|
|
Re: Cobertura.ser after multiple parallel running testsIt is being locked. Yes. -----Original Message----- From: Jan81 [mailto:J.Arnet@...] Sent: Friday, October 10, 2008 4:32 AM To: cobertura-devel@... Subject: Re: [Cobertura-devel] Cobertura.ser after multiple parallel running tests Problem solved. Since Cobertura 1.9 the ser-file is logged for re-serializing it. Thanks Jan81 wrote: > > Hi everybody, > > testing our project is an overnight operation. We're using Ant and Maven 2 > as Build-Management-Tools whereas Maven just run the Unittests and > generates the reports. > Now we're trying to get a coverage-report out of our blackbox-test-phase > in Ant. Blackbox-Testing-Tool is QFTest. The Problem is that during the > overnight operation multiple blackbox-tests run parallel. Each ending test > re-serialize the cobertura.ser-file. > How far is Cobertura able to handle this without overwriting the ser-file? > What are your ideas? > > Thanks, > Jan > -- View this message in context: http://www.nabble.com/Cobertura.ser-after-multiple-parallel-running-tests-tp19873200p19914107.html Sent from the cobertura-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
Re: Cobertura.ser after multiple parallel running testsWhen Cobertura writes to the ser file, it puts a lock on it, reads the current contents, merges it with the counts in memory, then writes the file back out. So, there should be no problem with doing parallel tests. -----Original Message----- From: Uldis Karlovs-Karlovskis [mailto:uldisk@...] Sent: Wednesday, October 08, 2008 6:24 AM To: 'Jan81'; cobertura-devel@... Subject: Re: [Cobertura-devel] Cobertura.ser after multiple parallel running tests Hello! Your right that Cobertura is rewriting ser file on every parallel test. That`s because of Cobertura functionality that is flushes its cache during jvm shutdown. Do some investigation and figure out how to run all Your parallel tests in one jvm. There should be some special key. As far as I know there is no other way. Regards, Uldis, C. T. Co uldis.karlovs-karlovskis@... -----Original Message----- From: Jan81 [mailto:J.Arnet@...] Sent: trešdiena, 2008. gada 8. oktobrī 9:44 To: cobertura-devel@... Subject: [Cobertura-devel] Cobertura.ser after multiple parallel running tests Hi everybody, testing our project is an overnight operation. We're using Ant and Maven 2 as Build-Management-Tools whereas Maven just run the Unittests and generates the reports. Now we're trying to get a coverage-report out of our blackbox-test-phase in Ant. Blackbox-Testing-Tool is QFTest. The Problem is that during the overnight operation multiple blackbox-tests run parallel. Each ending test re-serialize the cobertura.ser-file. How far is Cobertura able to handle this without overwriting the ser-file? What are your ideas? Thanks, Jan -- View this message in context: http://www.nabble.com/Cobertura.ser-after-multiple-parallel-running-tests-tp 19873200p19873200.html Sent from the cobertura-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
Re: Cobertura.ser after multiple parallel running testsThanks for your answers. Problem solved
|
| Free Forum Powered by Nabble | Forum Help |