-
Notifications
You must be signed in to change notification settings - Fork 94
Create abstract class Runtime_Check #9
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
Description
This abstract class will be used to create concrete checks that perform runtime analysis. These checks will run elements of the plugin code on the server to test its behavior against an expected outcome.
Acceptance Criteria
- An abstract
Abstract_Runtime_Checkclass exists - The
Abstract_Runtime_Checkclass implements theCheckandPreparationinterfaces - The class contains an abstract
preparemethod- This method will return a
Callablewhich is the cleanup function for the preparations run - This method can throw and
Exceptionwhen the preparation fails
- This method will return a
- The class will contain an abstract
runmethod- The method accepts a single
$resultsparameter, which is an instance ofCheck_Result - The method can throw and
Exceptionon critical failure unrelated to check errors or warnings - The method does not return anything
- The method accepts a single
Reactions are currently unavailable
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.