Functional Test Refactoring: Extract Function

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

Zhimin Zhan
Geek Culture
Published in
4 min readMar 18, 2021

--

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

  • Motivation, Why?
  • Mechanics, How?

--

--

Zhimin Zhan
Geek Culture

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