Changelog
-
CommandFactory Implementation:
- Each check must implement a
run_from_configuration
method. - This method takes the full configuration, extracts the necessary parameters, and runs the check.
- If the parameters are missing, it returns an empty list; otherwise, it returns a list of check results.
- Each check must implement a
-
Refactored
__main__
Class:- Now utilizes the
CommandFactory
to create and execute checks dynamically.
- Now utilizes the
-
Check Priority:
- Introduces a priority system for checks, ensuring they are executed in a defined order.
- Current priorities are described in: https://github.com/KatharaFramework/kathara-lab-checker/blob/develop/check-priorities.md
-
CheckResult Refactoring:
- Introduces
SuccessfulCheck
andFailedCheck
classes, improving result handling and clarity.
- Introduces