CSCI128 / 128Autograder

Source Code for CSCI128 Autograder at Colorado School of Mines
0 stars 0 forks source link

[BUG] `StudentSubmissionExecutor.cleanup` requires the the executor to run prior to be called #38

Closed gregbell26 closed 11 months ago

gregbell26 commented 11 months ago

Description

Issue

If StudentSubmissionExecutor.cleanup() is called before execute(), then an exception will be raised.

Steps to recreate

  1. Create a test suite with a cleanup function
  2. Create a test case that doesn't call execute()

Solution

cleanup should check if the sandbox exists before attempting to delete it.

Acceptance Criteria