[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-701153-105":3,"detail-sidebar-cat-0-en-105":72,"doc-detail-701153-en":122,"doc-similar-701153":152},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":65,"head_meta":67,"extra_data":69,"updated_unix":71},105,"en","selenium-junit-5-the-perfect-match-meetup-2021","Selenium + JUnit 5 - The Perfect Match - Meetup 2021","","Selenium + JUnit 5: The Perfect Match explains how to structure Selenium API calls inside Java test cases using JUnit 5 as the testing framework. It introduces JUnit 5’s Jupiter programming and extension model, then covers architecture, supported execution modes (build tools, IDE, console launcher), setup with Maven (pom.xml, Surefire), and core testing concepts including assertions and parameterized tests. It also presents Selenium-Jupiter and concludes with future directions.",{"@graph":14,"@context":64},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/selenium-junit-5-the-perfect-match-meetup-2021/701153/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/selenium-junit-5-the-perfect-match-meetup-2021/701153.png","ImageObject",300,407,{"name":42,"@type":43},"nayy☆","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-18","2026-11-12",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58],{"name":59,"@type":60,"acceptedAnswer":61},"What does the Maven setup for JUnit 5 require?","Question",{"text":62,"@type":63},"The material shows configuring pom.xml with a junit5.version, adding the junit-jupiter-engine dependency for tests, and enabling the maven-surefire-plugin with the configured version.","Answer","https://schema.org",{"og:url":32,"og:type":66,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":68,"canonical":32},"index,follow",{"doc_id":70,"site_id":7},701153,1794523807,{"code":4,"msg":73,"data":74},"success",[75,79,83,87,92,96,101,106,111,114,118],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":76,"show_sort_weight":77,"slug":78},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":80,"show_sort_weight":81,"slug":82},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Exam",70,"exam",{"id":88,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},5,"Comic",60,"comic",{"id":93,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":94,"slug":95},6,50,"technology",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},7,"Healthcare",40,"healthcare",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},8,"Research & Report",30,"research-report",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},9,"Religion & Spirituality",20,"religion-spirituality",{"id":109,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":109,"slug":113},"World Cup","world-cup",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":115,"slug":117},10,"Lifestyle","lifestyle",{"id":119,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":88,"slug":121},19,"General","general",{"code":4,"msg":73,"data":123},{"doc_id":70,"user_id":124,"nickname":42,"user_avatar":125,"doc_module":4,"category_id":93,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":126,"file_id":127,"file_url":128,"file_type":129,"file_size":130,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":131,"language":132,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":133,"faqs":134,"seo_title":135,"seo_description":12,"update_tm":71,"read_time":136,"preview_page_count":33,"preview_urls":137},962090893153,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Selenium + JUnit 5: The Perfect Match  \nBoni García  \n [boni.garcia@uc3m.es](boni.garcia@uc3m.es)  http://bonigarcia.github.io/  @boni_gg  [https://github.com/bonigarcia](https://github.com/bonigarcia)  \n1. Introduction  \n[https://www.selenium.dev/](https://www.selenium.dev/)  \n1. Introduction  \n• When it is used for testing, the calls to the Selenium API is typically placed in a test case (using a testing framework), e.g.:  \n1. Introduction  \n• This talk is focused on Java as language binding for Selenium and JUnit 5 as testing framework  \nSelenium-Jupiter   \n[https://bonigarcia.github.io/selenium-jupiter/](https://bonigarcia.github.io/selenium-jupiter/)  \n1. Introduction  \n• Source code: [https://github.com/bonigarcia/selenium-jupiter](https://github.com/bonigarcia/selenium-jupiter)  \n• Documentation: [https://bonigarcia.github.io/selenium-jupiter](https://bonigarcia.github.io/selenium-jupiter)  \n• Examples: [https://github.com/bonigarcia/selenium-jupiter-examples](https://github.com/bonigarcia/selenium-jupiter-examples)  \nRequirements to run these examples:  \n• Java  \n• An IDE or Maven/Gradle  \n• Docker Engine (only required for running Docker examples)  \n• Linux (only required for running Android in Docker)  \nTable of Contents  \n1. Introduction  \n2. JUnit 5  \n• Introduction  \n• Architecture  \n• Support  \n• Setup  \n• Basic tests  \n• Assertions  \n• Parameterized tests  \n• Features  \n• Extension model  \n3. Selenium-Jupiter  \n4. Final remarks and future work  \n2. JUnit 5-Introduction  \n• JUnit is the most popular testing framework for Java and can be used to implement different types of tests (unit, integration, end-to-end,…)  \n• JUnit 5 (first GA released on September 2017) provides a brand-new programming an extension model called Jupiter  \n[https://junit.org/junit5/docs/current/user-guide/](https://junit.org/junit5/docs/current/user-guide/)  \n2. JUnit 5-Architecture  \n2. JUnit 5-Support  \n• JUnit 5 test can be executed in different ways: 1. Using a build tools:  \n2. Using an IDE:  \n3. Using the console launcher (standalone JAR provided by the JUnit 5 team):  \njava -jar junit-platform-console-standalone-version.jar \u003COptions>  \n2. JUnit 5-Setup  \n• To execute JUnit 5 with Maven we need to configure pom.xml:  \n\n| \u003C properties >\u003Cbr>\u003C junit5.version > 5.7.0 \u003C/junit5 .version >\u003Cbr>\u003Cbr>\u003Cmaven-surefire-plugin.version> 2.22.2 \u003C/maven-surefire-plugin.version >\u003Cbr>\u003C/properties>\u003Cbr>\u003Cdependencies >\u003C dependency >\u003Cbr>\u003CgroupId >org.junit.jupiter\u003C/groupId>\u003C artifactId > junit-jupiter-engine\u003C/artifactId>\u003Cversion > ${junit5.version}\u003C/version>\u003Cscope>test \u003C/ scope>\u003Cbr>\u003C/dependency>\u003C/dependencies>\u003Cbr>\u003Cbr>\u003C build >\u003C plugins >\u003Cbr>\u003C plugin >\u003Cbr>\u003CgroupId >org.apache.maven.plugins\u003C/groupId>\u003Cbr>\u003Cbr>\u003C artifactId >maven-surefire-plugin\u003C/artifactId>\u003Cbr>\u003Cversion >${maven-surefire-plugin.version}\u003C/version>\u003C/plugin>\u003Cbr>\u003C/plugins>\u003C/build>\u003Cbr>\u003Cdependencies >\u003Cbr>\u003Cdependency \u003Cgrou\u003Cbr>\u003C arti \u003Cvers\u003Cbr>\u003Cscope \u003C/depende\u003Cbr>\u003Cdependency \u003Cgrou\u003Cbr>\u003C arti \u003Cvers\u003Cbr>\u003Cscope \u003C/depende \u003C/dependencies |  |  |  |  |  |\n| --- | --- | --- | --- | --- | --- |\n|  |  |  |  |  | To be precise, we need the API in compile time for tests and the\u003Cbr>engine in execution time \u003Cbr>|\n|  |  |  |  |  | >\u003Cbr>pId >org.junit.jupiter\u003C/groupId> factId > junit-jupiter-api\u003C/artifactId> ion >${junit5.version}\u003C/version>>test \u003C/ scope>\u003Cbr>ncy>\u003Cbr>>\u003Cbr>pId >org.junit.jupiter\u003C/groupId> factId > junit-jupiter-engine\u003C/artifactId> ion >${junit5.version}\u003C/version>\u003Cbr>> runtime\u003C/scope> ncy>\u003Cbr>> |\n|  |  |  |  |  |  |","cbCaif6jmE8caavq","https://ap.wps.com/l/cbCaif6jmE8caavq","pdf",3369506,34,"English","# Introduction\n# JUnit 5\n## Architecture\n## Support\n## Setup\n## Basic tests\n## Assertions\n## Parameterized tests\n## Features\n## Extension model\n# Selenium-Jupiter\n# Final remarks and future work","[{\"question\":\"What does the Maven setup for JUnit 5 require?\",\"answer\":\"The material shows configuring pom.xml with a junit5.version, adding the junit-jupiter-engine dependency for tests, and enabling the maven-surefire-plugin with the configured version.\"}]","Selenium + JUnit 5 - The Perfect Match - Meetup 2021 | PDF",86,[138,142,145,149],{"page_no":22,"url":139,"width":140,"height":141},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/736ce73a82971a8c4e6d174635ed7f35.webp",983,552,{"page_no":26,"url":143,"width":144,"height":141},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/3aa5c367a2cd7a29e94dfd962a4ee4d9.webp",982,{"page_no":30,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/988e176795a0cf6b153810d346b59801.webp",981,551,{"page_no":33,"url":150,"width":151,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/2b7ee9f08345ab45b9dbde4e0c30ff9e.webp",980,{"list":153,"token":11},[154,160,165,171,177,183,190,196,202,208],{"doc_id":155,"doc_title":156,"file_type":129,"home_preview_img_url":157,"slug":158,"view_count":22,"category_name":29,"create_tm":159},763091,"Selenium Tutorials - 32 Best Free Selenium Training Tutorials","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230046002684/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=Su3OR6SucW8wItCPRktkric3PD0%3D","selenium-tutorials-32-best-free-selenium-training-tutorials",1795999622,{"doc_id":161,"doc_title":162,"file_type":129,"home_preview_img_url":163,"slug":164,"view_count":30,"category_name":29,"create_tm":71},701152,"JUnit 5 User Guide - Version 5.12.2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012051873/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=dWskyd0M0tGLK8rkh%2FaNNS1fz7A%3D","junit-5-user-guide-version-5122",{"doc_id":166,"doc_title":167,"file_type":129,"home_preview_img_url":168,"slug":169,"view_count":88,"category_name":29,"create_tm":170},701158,"JUnit Tutorial - Beginner Guide - Java Unit Testing Framework","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012051946/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=d3XuNKzZTSgPK2LcJk1sG4H3WHM%3D","junit-tutorial-beginner-guide-java-unit-testing-framework",1794523817,{"doc_id":172,"doc_title":173,"file_type":129,"home_preview_img_url":174,"slug":175,"view_count":88,"category_name":29,"create_tm":176},701156,"JUnit Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012051926/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=f3378eO8lxpnEHZL5dUbZQlKV6E%3D","junit-tutorial",1794523814,{"doc_id":178,"doc_title":179,"file_type":129,"home_preview_img_url":180,"slug":181,"view_count":33,"category_name":29,"create_tm":182},701154,"Les25 - Introduction to unit testing - Unit Testing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012051900/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=53LbuMXW6U39RL18NkGN4rH%2BQZ4%3D","les25-introduction-to-unit-testing-unit-testing",1794523810,{"doc_id":184,"doc_title":185,"file_type":129,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":29,"create_tm":189},347823,"JAVA for Beginners - 2nd Edition - An introductory course for Advanced IT Students and those who would like to learn the Java programming language","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911558027/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=FxqTSJQtqwsktGYRAMHLg%2FTPQJw%3D","java-for-beginners-2nd-edition-an-introductory-course-for-advanced-it-students-and-those-who-would-like-to-learn-the-java-programming-language",13,1790069250,{"doc_id":191,"doc_title":192,"file_type":129,"home_preview_img_url":193,"slug":194,"view_count":97,"category_name":29,"create_tm":195},703209,"AWS SDK for Java 2.0 Developer Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012266874/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=1hA7FQK18BZ%2B3yMXgBngTHl5rBw%3D","aws-sdk-for-java-20-developer-guide",1794563089,{"doc_id":197,"doc_title":198,"file_type":129,"home_preview_img_url":199,"slug":200,"view_count":22,"category_name":29,"create_tm":201},763089,"Test Automation Using Selenium WebDriver with Java","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230045654941/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=tQK7i1%2B%2FQNJ8f44GUNOZXEPOB%2B4%3D","test-automation-using-selenium-webdriver-with-java",1795999614,{"doc_id":203,"doc_title":204,"file_type":129,"home_preview_img_url":205,"slug":206,"view_count":22,"category_name":29,"create_tm":207},763092,"Selenium Full Material Updated Greens","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230045654967/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=mDyMhdbu2899rCEX%2BPlBZRtFNiY%3D","selenium-full-material-updated-greens",1795999623,{"doc_id":209,"doc_title":210,"file_type":129,"home_preview_img_url":211,"slug":212,"view_count":97,"category_name":29,"create_tm":213},701151,"JUnit 5 User Guide - Table of Contents","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012051872/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=rhJ8N3hJsadKc9T7yYLdkUc0sBM%3D","junit-5-user-guide-table-of-contents",1794523805]