Re: TEST or integration test?

2013-08-06 Thread Prasanna Santhanam
st mock the db layer. > > To me it would make sense if we use an in memory db like derby for the unit > tests. > > --Alex > > > -Original Message- > > From: Min Chen [mailto:min.c...@citrix.com] > > Sent: Tuesday, August 6, 2013 3:58 PM >

RE: TEST or integration test?

2013-08-06 Thread Alex Huang
nit tests. --Alex > -Original Message- > From: Min Chen [mailto:min.c...@citrix.com] > Sent: Tuesday, August 6, 2013 3:58 PM > To: dev@cloudstack.apache.org > Subject: Re: TEST or integration test? > > For /engine/storage/integration-test, I know that those tests are Te

Re: TEST or integration test?

2013-08-06 Thread Min Chen
For /engine/storage/integration-test, I know that those tests are TestNG test cases, requiring DB existence. Thanks -min On 8/6/13 2:59 PM, "Alex Huang" wrote: >I noticed that some of our unit tests are run in integration-test stage >of maven. Shouldn't that be in the test phase? Does anyone