Obey Law of Demeter for test code #303
Labels
enhancement
feature request
help wanted
Extra attention is needed
improvement
Improvement to the codebase
triage
Needs assessment
Feature request description/rationale
While looking through the test utilities and other code in the integration tests I noticed that many objects are passed around where values are sufficient and also that some places include multiple level of objects being accessed.
Generally it seems the Law of Demeter, or principle of least knowledge, makes code maintainable with lower cost than without so it would be worth refactoring the testing code to abide by this principle.
This issue is starting as a catch all. I will add specific examples as I come across them again.
The text was updated successfully, but these errors were encountered: