CTAL-TAE · Question #77
To improve the maintainability of test automation code, it is recommended to adopt design principles and design patterns that allow the code to be structured into:
The correct answer is C. loosely coupled and highly cohesive modules. For maintainable test automation code, modules should be loosely coupled (minimal dependencies between modules) and highly cohesive (each module focused on a single responsibility). This structure improves readability, reusability, and ease of maintenance.
Question
To improve the maintainability of test automation code, it is recommended to adopt design principles and design patterns that allow the code to be structured into:
Options
- Ahighly coupled and loosely cohesive modules
- Bhighly coupled and highly cohesive modules
- Cloosely coupled and highly cohesive modules
- Dloosely coupled and loosely cohesive modules
How the community answered
(50 responses)- B4% (2)
- C94% (47)
- D2% (1)
Explanation
For maintainable test automation code, modules should be loosely coupled (minimal dependencies between modules) and highly cohesive (each module focused on a single responsibility). This structure improves readability, reusability, and ease of maintenance.
Topics
Community Discussion
No community discussion yet for this question.