Commit cebfd8f0 authored by Jakob Moser's avatar Jakob Moser
Browse files

Document ExerciseRetryExecutionContext better

parent 9b74bddc
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -312,10 +312,15 @@ class ExerciseExecutionContext {
}

/**
 * Exercise execution contexts for retry attempts. Disables
 * Exercise execution contexts for retry attempts. Disables the following public API functions:
 * 
 * - describe()
 * - prepareWith()
 * - clear()
 * 
 * This is done because, when retrying, the exercise setup code is re-run completely, however,
 * we do not want to e.g. prepare the exercise again, as all the respective files already exist
 * from the previous try.
 */
class ExerciseRetryExecutionContext extends ExerciseExecutionContext {