Senior
What design patterns are you familiar with?
sobes.tech AI
Answer from AI
From well-known design patterns, three categories can be distinguished:
- Creational Patterns — responsible for object creation:
- Singleton
- Factory Method
- Abstract Factory
- Builder
- Prototype
- Structural Patterns — define ways to compose classes and objects:
- Adapter
- Decorator
- Proxy
- Composite
- Facade
- Bridge
- Flyweight
- Behavioral Patterns — responsible for object interaction:
- Observer
- Strategy
- Command
- Iterator
- State
- Template Method
- Chain of Responsibility
In the context of QA Automation, Page Object patterns are often used to organize tests, as well as Singleton for driver management and Factory for creating test data.