UI AUTOMATION TEST WITH JUNIT5 LINE Fukuoka ChangYu Hao
SELF INTRODUCTION • ChangYu Hao • QA Automation Engineer • LINE Fukuoka Corporation
Contents 01 02 03 04 05 Team Introduction Junit 4 Junit 5 Other Tools Q & A
TEAM INTRODUCTION
JUNIT 4
SINGLE DRIVER MULTI DRIVERS JUNIT 4
FORMER JUNIT VERSION JUNIT 5 PARAMETER RESOLVER
JUNIT 5
JUNIT 5 ARCHITECTURE • Vintage (JUnit 4) • Jupiter (JUnit 5)
JUNIT 5 GRADLE SETTING • junit-platform-launcher • classpath(“org.junit.platform:junit-platform- gradle-plugin:${junitPlatformVersion}”) • junit-platform-engine • testCompile("org.junit.jupiter:junit-jupiter- api:${junitJupiterVersion}") • testRuntime("org.junit.jupiter:junit-jupiter- engine:${junitJupiterVersion}")
JUNIT 4 GRADLE SETTING • junit-platform-launcher • classpath(“org.junit.platform:junit-platform- gradle-plugin:${junitPlatformVersion}”) • junit-platform-engine • testCompile("junit:junit:${junitLegacyVersio n}") • testRuntime("org.junit.vintage:junit-vintage- engine:${junitVintageVersion}")
ANNOTATION
EXTENSION MODEL
EXTENSION API
PARAMETER RESOLVER
TEST CLASS TEST METHOD PARAMETER RESOLVER
JUNIT 4 JUNIT 5 LIFE CYCLE
TEST INSTANCE LIFE CYCLE
SELENIUM JUPITER
EXECUTION ORDER
EXTENSION MODEL
EXTENSION REGISTRATION ORDER
TAG
CUSTOM TAG
OTHER TOOLS
AYA-CHAN
AYAVUE
IMAGE RECOGNITION
TEMPLATE IMAGE SOURCE FROM SCREENSHOT IMAGE RECOGNITION
APPIUM
FEATURE DETECTION
Q & A
THANKS FOR LISTENING

UI Automation Test with JUnit5