Caraya 1.0 BETA Release Candidate 6 -- Refactored Test Runners
Pre-releaseThis is a sixth beta release for the 1.0 branch.
This build refactors the proposed Test Runner base class to emulate nested Test Suites.
As the previous line suggest, this refactoring was necessary to support a feature that basically replaces the current Test Suite class and allows for nested Test Suites. It also features a tool menu shortcut to create derived Test Runners that can be run as a collection of tests.
For those who had already started playing with Caraya 1.0's CLI and Test Runners for your continuous integration servers, you will find that a few changes will be required to adapt to this new architecture. In a nutshell, the Test Execution and Discovery methods will now both be protected and part of the overridable stream of actions that the Run and Discover Tests public API will call.
Personal note to the few people impacted by this choice: I felt that breaking the few existing installations was the price to pay considering that, once out of pre-release status, it would have been much more painful to break backward compatibility. In my opinion, now was the time to make use of the Test Runner base class (thanks @ChrisStrykesAgain) and support nested Tests execution with a minimal change of API. Since the few developers who probably already started developing with this feature are experts, and with the knowledge that a few examples are found in the Caraya project file, I felt it was the right (only) time to propose this change. I hope you'll agree, and I am available to answer any refactoring questions, should the refactor be less straightforward than I anticipate.
CARAYA 1.0 PRE-Release Notes
https://github.com/JKISoftware/Caraya/wiki/Caraya-1.0-Release-Notes