-
Notifications
You must be signed in to change notification settings - Fork 100
Create Check_Runner interface #13
Copy link
Copy link
Closed
Labels
InfrastructureIssues for the overall plugin infrastructureIssues for the overall plugin infrastructure[Type] EnhancementA suggestion for improvement of an existing featureA suggestion for improvement of an existing feature
Milestone
Metadata
Metadata
Assignees
Labels
InfrastructureIssues for the overall plugin infrastructureIssues for the overall plugin infrastructure[Type] EnhancementA suggestion for improvement of an existing featureA suggestion for improvement of an existing feature
Type
Fields
Give feedbackNo fields configured for issues without a type.

Description
The Check Runner interface will be implemented by the specific context runner classes like AJAX runner or CLI runner. This interface will have access to the Checks class and its methods to run checks. The interface will have a
runmethod that will be the responsibility of classes to implement to start the runner according to their context.Acceptance Criteria
Check_Runnerinterface is created and exists atincludes/Checker.Check_Runnerinterface contains a publicis_plugin_check()method.is_plugin_checkmethod will return a boolean.Check_Runnerinterface contains a publicprepare()method.prepare()method will be used to run any universal preparations depending on the checks requested.Check_Runnerinterface contains a publicrun()method.runmethod returns an instance of theCheck_Resultsclass.