Skip to content

Optimization Refactoring on Test Classes #34080

@TheoGkoumas

Description

@TheoGkoumas

We currently maintain redundant code and methods that are reused on all classes with minimal (or none at some cases) differences. Thus, we need to optimize the structure of the test classes by extracting the repeated code/objects into a base class.

  • create a base test class
  • extract the resusable code from tests classes into the base class
  • refactor the test classes to extend from parent class
  • assert that the existing functionality is unaffected by the refactoring

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions