Boni García

King Juan Carlos University | Spain

BIO: Boni García is an Assistant Professor at King Juan Carlos University in Spain. He is passionate about software testing, cloud computing, and open source. He is the author of more than 30 publications including international conferences papers, journals, and the book “Mastering Software Testing with JUnit 5″. He is the creator of different open source utilities for Java, including Selenium-Jupiter (a JUnit 5 extension for Selenium) and WebDriverManager (a well-known helper library aimed to automate the management of binary drivers for Selenium WebDriver).

WORKSHOP: Selenium-Jupiter: The next level of web testing

Session level: beginner

Selenium has become the de facto standard framework for end-to-end web testing nowadays. It allows to drive programmatically web browsers, such as Chrome, Firefox, etc. This workshop presents Selenium-Jupiter, an open source JUnit 5 extension aimed to provide seamless integration with Selenium. JUnit is the most popular test frameworks for the Java and one of the most influential in software engineering. JUnit 5 is the next generation of JUnit, first released on September 2017. JUnit 5 provides a brand-new programming and extension model called Jupiter. Selenium-Jupiter is a JUnit 5 extension to use Selenium and provides a rich variety of features, including the capability to use of local or remote browsers. Moreover, it allows to use browsers and Android devices in Docker containers out of the box. Selenium-Jupiter can be used to carry out different types of test of web applications, including functional, compatibility (i.e. using different browsers types and versions) or performance (i.e. using a big number of browsers) tests.

Takeaways

  • Main features of the programming and extension model of JUnit 5 (called Jupiter)
  • How to use Selenium from JUnit 5 for web and mobile testing
  • How Docker can be used to ease functional, compatibility and performance tests.