behave-django
behave-django copied to clipboard
Refactor testcase implementation to reduce mental overhead
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.