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

Yair Zaslavsky yzaslavs at redhat.com
Wed Aug 29 11:19:14 UTC 2012


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" <sanjal at redhat.com>
>>>> To: engine-devel at 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 at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>>>>
>>> _______________________________________________
>>> Engine-devel mailing list
>>> Engine-devel at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>>>
>> _______________________________________________
>> Engine-devel mailing list
>> Engine-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>



More information about the Engine-devel mailing list