Extending Arquillian graphene

Preview:

Citation preview

Extending Arquillian Graphene

Rudy De Busscher

Who Am I

Rudy De Busscher

C4J: Senior Java Web Developer, Java CoachJSR375: Java EE Security API Expert group member

Java EE believer

@rdebusscher

http://jsfcorner.blogspot.behttp://javaeesquad.blogspot.be

AgendaTesting

Integration

Testing

Arquillian

Extending

Graphene

DEMO

Testing

• As important as coding

• Developer testing

• Unit vs integration

• Visual?

GUI testing

• Integration

• Difficult

– All tiers involved

– Capture GUI state

Arquillian

• Motto:

– Test the real thing

1. In container testing

– Skip the build

2. Client side testing

– Test any Browser/HTML based UI

High level

• Integration

• Browser <-> database.

• In place / Testing the real thing

• Replace Human acceptance testing?

• Client side only (Graphene) or deep testing

(ex Warp for JSF)

Visual testing

Arquillian Graphene

Selenium Webdriver

• De facto standard

• Control browser from unit test

Arquillian Drone

• Wrapper around Selenium Webdriver

• Easier configuration

Demos

Q&A

Recommended