Kontinuierliche Fachtests für Webanwendungen mit Arquillian...Kontinuierliche Fachtests für...

Post on 13-Oct-2020

3 views 0 download

Transcript of Kontinuierliche Fachtests für Webanwendungen mit Arquillian...Kontinuierliche Fachtests für...

Copyright © BridgingIT GmbH / CC BY-SA http://creativecommons.org/licenses/by-sa/2.0/

Kontinuierliche Fachtestsfür Webanwendungen mitArquillian

Karlsruher Enwicklertag 21.05.2014

Tilmann Kuhn

Wer testet Webanwendungen?

Nicht?Manuell?

Automatisiert?

Photo by Deutscher Webvideopreis https://www.flickr.com/photos/webvideotage/13557974864/ CC BY https://creativecommons.org/licenses/by/2.0/

Wir haben doch Unittests!

Photo by Dave Bleasdale https://www.flickr.com/photos/sidelong/246816211/ CC BY https://creativecommons.org/licenses/by/2.0/

Die Realität testen!

Photo by Sebastian Bergmann https://www.flickr.com/photos/sebastian_bergmann/10773103685/ CC BY-SA https://creativecommons.org/licenses/by-sa/2.0/

Wir haben doch keine Zeit!

Photo by liebeslakritze https://www.flickr.com/photos/8069051@N06/5801548114/ CC BY-SA https://creativecommons.org/licenses/by-sa/2.0/

AgilJeden Sprint?

Jede Woche?

Jeden Tag?Photo by royskeane https://www.flickr.com/photos/royskeane/413103429/ CC BY https://creativecommons.org/licenses/by/2.0/

Kontinuierliche Auslieferung

Jedes Feature?

Photo by Ben Sutherland https://www.flickr.com/photos/bensutherland/5318654518/ CC BY https://creativecommons.org/licenses/by/2.0/

Jeden Tag?

The good the bad and the ugly

Photo by Pietro Zanarini https://www.flickr.com/photos/zipckr/4422426722/ CC BY https://creativecommons.org/licenses/by/2.0/

Qual der Wahl?

SeleniumArquillianIBM Rational Functional TesterCanoo Webtest…http://en.wikipedia.org/wiki/List_of_web_testing_toolshttp://stackoverflow.com/questions/13632934/tool-for-

automated-testing-web-application

Photo by Awaya Legends https://www.flickr.com/photos/awaya/3799064956/ CC BY https://creativecommons.org/licenses/by/2.0/

Arquillian Logo by Red Hat, Inc. http://arquillian.org/invasion/spread/ CC BY http://creativecommons.org/licenses/by/3.0/

Was ist Arquillian?

Warum Arquillian?

Ohne Recording Java Selenium + X Einfach

Java EE (weit mehr als Web UI)

Wirkungsweise

Browser

Arquillian(Drone)

(Graphene)

Selenium(WebDriver)

JUnit Test

Photo by David Swart https://www.flickr.com/photos/dmswart/6507071663/ CC BY https://creativecommons.org/licenses/by/2.0/

Los gehts!

Photo by Thomas Kohler https://www.flickr.com/photos/mecklenburg/5026128169/ CC BY-SA https://creativecommons.org/licenses/by-sa/2.0/

Hürden

TestisolationDeployment

Photo by Fabian Fahrenberg https://www.flickr.com/photos/66606049@N05/6065079300/ CC BY https://creativecommons.org/licenses/by/2.0/

Stolpersteine

Windows vs Linux

Maven vs IDEWebDriver

Work in Progress

Photo by Ted & Dani https://www.flickr.com/photos/tedpercival/3057371057/ CC BY https://creativecommons.org/licenses/by/2.0/

xpath != xpath

Weitere Möglichkeiten…

Erkenntnisse

Hürden Stolpersteine

KinderleichtUmfangreich

Arquillian Ikes by Red Hat, Inc. http://arquillian.org/invasion/spread/ CC BY http://creativecommons.org/licenses/by/3.0/

Presentation by Tilmann Kuhn CC BY-SA http://creativecommons.org/licenses/by-sa/2.0/

Tilmann Kuhn

BridgingIT GmbH

Niederlassung FrankfurtSolmsstraße 460486 Frankfurt

tilmann.kuhn@bridging-it.de

www.bridging-it.de

Fragen?