behave-django icon indicating copy to clipboard operation
behave-django copied to clipboard

Refactor testcase implementation to reduce mental overhead

Open bittner opened this issue 4 months ago • 0 comments

Inheritance can make code cleaner by applying the DRY principle, but occasionally it comes at a price.

With some limited code duplication and composition instead of inheritance we can reduce the mental energy needed to understand the implementation.

bittner avatar Jun 22 '25 10:06 bittner