(DV-2208) SNP Validate test plan Housekeeping report

This report serves as a tool for the convenient deletion of not-needed Test Plans from SNP Validate.

On the selection screen the user should define:

  • Retention period - the number of days there wasn't any activity in the selected runs to be deleted. If there was any activity (i.e. execution of any subtask in the run) since the defined retention period the run won't be deleted.

  • RunID - range of RunIDs to be deleted.

  • Run in test mode - if this is enabled, the report won't delete any test plans from the database; just write the logging info about the deleted test plans. This is enabled by default to prevent accidental deletion.

After execution of the report, there is logging info about the deleted test plans; containing a header section with the general info about the whole housekeeping report run and a section containing info about each deleted test plan. The logging info for running in the test mode is shown below:

And for real mode it's very similar:

If the report doesn't find any RunID to delete it shows an error message: