Geek Culture
Published in

Geek Culture

Functional Test Refactoring: Extract Function

Extract a set of test steps performing a common user operation to a reusable function

This is the 1st of 6 Functional Test Refactorings: Extract Function. I will show each refactoring in the following sections:

  • Motivation, Why?
  • Mechanics, How?




A new tech publication by Start it up (

Recommended from Medium

Computations54 — Framework for performing critical calculations and data processing

Computations54 framework for Intelligent Data Processing and Mining

Roles & Best Practices for Mentors at Virtual Hackathons

MongoDB application consistent backup using pre and postscript with Nimesa Data Protection

Upgrade 500 Selenium v3 tests to Selenium v4, Easy!

How to create a Scrum Sprint Report? (Software Development)

Beginner’s Guide to Creating 360 & VR MMD Videos Pt. 1

Alternative of Docker Desktop for Windows 10.

Install and configure iTerm2 on a Mac in 2021

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Zhimin Zhan

Zhimin Zhan

Test automation & CT coach, author, speaker and award-winning software developer. Help teams succeed with Agile/DevOps by implementing real Continuous Testing.

More from Medium

Why Selenium WebDriver is So Easy to Learn?

Access now the beta to generate tests from your logs

Functional Testing 2022-All the different types of functional testing

Why Developing Tests Is Needed?