For historic reasons, register_controller lives under test_runner.
Back then the consideration was, one day we may want to let controller objects persist across multiple test classes.
This causes multiple organizational problems and incurs complexity.
In hindsight that is a very bad idea and controller object lifecycles should be contained within each class. So it is time to push controller management into base_test.
For historic reasons,
register_controller
lives undertest_runner
. Back then the consideration was, one day we may want to let controller objects persist across multiple test classes.This causes multiple organizational problems and incurs complexity.
In hindsight that is a very bad idea and controller object lifecycles should be contained within each class. So it is time to push controller management into
base_test
.