[Engine-devel] JUnit tests in 'bll' project

2012-08-29 Thread Shireesh Anjal

Hi,

When I do a full build of oVirt engine (mvn clean install 
-Pgwtdev,gwt-admin,dep,enable-dao-tests), it seems that the JUnit tests 
in project 'bll' are not executed. Is this done intentionally? If yes, 
is there a simple way to execute them using mvn ?


Thanks,
Shireesh
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] JUnit tests in 'bll' project

2012-08-29 Thread Eyal Edri


- Original Message -
 From: Shireesh Anjal san...@redhat.com
 To: engine-devel@ovirt.org
 Sent: Wednesday, August 29, 2012 1:19:16 PM
 Subject: [Engine-devel] JUnit tests in 'bll' project
 
 Hi,
 
 When I do a full build of oVirt engine (mvn clean install
 -Pgwtdev,gwt-admin,dep,enable-dao-tests), it seems that the JUnit
 tests
 in project 'bll' are not executed. Is this done intentionally? If
 yes,
 is there a simple way to execute them using mvn ?

there is a maven profile enable-bll-itests from the bll submodule dir.

hanv't run it in a while so it might not work... 

 
 Thanks,
 Shireesh
 ___
 Engine-devel mailing list
 Engine-devel@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/engine-devel
 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] JUnit tests in 'bll' project

2012-08-29 Thread Yair Zaslavsky

Shireesh, what happens when you run for example mvn clean install ?
I just did that, and it DID run the bll tests for me

Yair


On 08/29/2012 02:14 PM, Shireesh Anjal wrote:

I'm referring to bll unit tests. There are lots of them in
backend/manager/modules/bll/src/test/java, only a minority of them are
itests (org.ovirt.engine.core.itests.*)

~Shireesh

On Wednesday 29 August 2012 03:58 PM, Yair Zaslavsky wrote:

itests are integration tests, do not confuse them with the bll unit
tests which use Mockito (for example).
Shireesh - what are you referring to exactly?

Yair


On 08/29/2012 01:27 PM, Eyal Edri wrote:



- Original Message -

From: Shireesh Anjal san...@redhat.com
To: engine-devel@ovirt.org
Sent: Wednesday, August 29, 2012 1:19:16 PM
Subject: [Engine-devel] JUnit tests in 'bll' project

Hi,

When I do a full build of oVirt engine (mvn clean install
-Pgwtdev,gwt-admin,dep,enable-dao-tests), it seems that the JUnit
tests
in project 'bll' are not executed. Is this done intentionally? If
yes,
is there a simple way to execute them using mvn ?


there is a maven profile enable-bll-itests from the bll submodule dir.

hanv't run it in a while so it might not work...



Thanks,
Shireesh
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel



___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel