Selenium For Beginners

Share this post

User's avatar
Selenium For Beginners
Selenium Automation Smells

Selenium Automation Smells

Alex Siminiuc's avatar
Alex Siminiuc
Dec 12, 2024
∙ Paid
3

Share this post

User's avatar
Selenium For Beginners
Selenium Automation Smells
1
Share

What is a code smell?

A code smell is any characteristic in the source code of a program that possibly indicates a deeper problem.

Determining what is and is not a code smell is subjective, and varies by language, developer, and development methodology.

Examples of code smells:

  • Long Method

  • Large Class

  • Primitive Obsession

  • Long Parameter List

  • Comments

  • Duplicate Code

  • Dead Code

  • Temporary Field

  • Switch Statements

  • Feature Envy

  • Inappropriate Intimacy


What is an automation smell?

An automation smell is any characteristic in the automation project that possibly indicates a deeper problem.

There are different types of automation smells:

- code smells

- page object model smells

- unit testing smells

- locator smells

- retry smells

- synchronization smells

Keep reading with a 7-day free trial

Subscribe to Selenium For Beginners to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Alex Siminiuc
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share