caraya icon indicating copy to clipboard operation
caraya copied to clipboard

Decouple Test Manager from UI

Open francois-normandin opened this issue 5 years ago • 0 comments

Caraya's Test Manager (the entity receiving the test results from the Assertion Nodes) doubles down as an Interactive UI. These two functionalities should be decoupled so that the Test Manager's process handle only test management, and a UI can register for test results separately.

Advantages:

  • conforms to best practices (class has one reason to change)
  • no worry that UI changes break RT compatibility
  • UI could be extended or overwritten without affecting the Test Manager

Disadvantages:

  • Honestly, none I can think of. If anything it would result in an even faster framework...

francois-normandin avatar Jan 26 '20 20:01 francois-normandin