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.