Thanks for your advice, I'll post me query over Maven' mailing list!!!!

Eugene Kuleshov wrote:
> 
> Hung,
> 
>   You should probably ask this question in the maven project mailling
> list.
>  
>   Anyways, I think by default, Maven Surefire plugin (the one used to 
> run tests) spawns separate JVM, so you may try to add a flag to Surefire 
> plugin configuration to not do that.
> 
>   regards,
>   Eugene
> 
> 
> Hung wrote:
>>
>> Dear all,
>>
>> Currently I used maven test to run test cases in RAD, but I found that it
>> spends a lot of time to load/init. It takes a total of 1 minute to finish
>> the run, but indeed the test cases spend 5.448sec.
>>
>> Is there any way I could speed up the process? Coz I wanna promote the
>> use
>> of maven to run test cases frequently by maven. Many thanks!!!!
>>
>> Below is the trace for reference
>>
>> [INFO] Scanning for projects...
>> [INFO]
>> ----------------------------------------------------------------------------
>> [INFO] Building customerrelationshipmanagement
>> [INFO]    task-segment: [test]
>> [INFO]
>> ----------------------------------------------------------------------------
>> [INFO] resources:resources
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] compiler:compile
>> [INFO] Nothing to compile - all classes are up to date
>> [INFO] resources:testResources
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] compiler:testCompile
>> [INFO] Nothing to compile - all classes are up to date
>> [INFO] surefire:test
>> [INFO] Surefire report directory:
>> C:\workspace\install_maven\GISBE\customerrelationshipmanagement\target\surefire-reports
>>
>> -------------------------------------------------------
>>  T E S T S
>> -------------------------------------------------------
>> Running
>> com.hsbc.ins.gis.customerrelationshipmanagement.CustomerInformationManagementTestCase
>> Tests run: 11, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 5.448
>> sec
>> <<< FAILURE!
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-speed-up-test-cases-running-tf4776238s177.html#a13700613
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to