Sobes.tech
Senior

What design patterns are you familiar with?

sobes.tech AI

Answer from AI

From well-known design patterns, three categories can be distinguished:

  1. Creational Patterns — responsible for object creation:
  • Singleton
  • Factory Method
  • Abstract Factory
  • Builder
  • Prototype
  1. Structural Patterns — define ways to compose classes and objects:
  • Adapter
  • Decorator
  • Proxy
  • Composite
  • Facade
  • Bridge
  • Flyweight
  1. 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.