Change in ovirt-engine[master]: Introduce Arquillian (And test SchedulingManager)

masayag at redhat.com masayag at redhat.com
Mon Aug 3 04:48:23 UTC 2015


Moti Asayag has submitted this change and it was merged.

Change subject: Introduce Arquillian (And test SchedulingManager)
......................................................................


Introduce Arquillian (And test SchedulingManager)

This test will check the SchedulingManager can be loaded as a Singleton
bean. This is a simple test(rather than real integration test) and it's merely
to make sure all the CDI wirings for this class works.

Using Arquillian[1], tests grow easily to be integration-tests.
Every dependancy injection could be satisfied by the internal bean
manager and with that we can ensemble tests which span several
components.

Except from testing locally, arquillian lets you deploy your tests on
different containers, making testing for EAP/Wilfly compatibility easy
to achieve.

[1] www.arquillian.org

Change-Id: I7d52c2b0800b5bbc9e63e51277de0a46d4dda866
Signed-off-by: Roy Golan <rgolan at redhat.com>
---
A backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/scheduling/CommonTestMocks.java
A backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/scheduling/SchedulingManagerTest.java
M backend/manager/modules/pom.xml
M pom.xml
4 files changed, 158 insertions(+), 0 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Roy Golan: Verified
  Moti Asayag: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/40341
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7d52c2b0800b5bbc9e63e51277de0a46d4dda866
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list