Differences Between: [Versions 311 and 403] [Versions 400 and 403] [Versions 401 and 403]
(no description)
File Size: | 200 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
scheduled_allocator_test:: (8 methods):
test_that_allocator_in_executed_on_submission_end_when_phaseswitchassessment_is_active()
test_that_allocator_is_not_executed_when_its_not_active()
activate_the_scheduled_allocator()
setup_test_course_and_workshop()
execute_workshop_cron_task()
execute_allocator_cron_task()
activate_switch_to_the_next_phase_after_submission_deadline()
set_the_submission_deadline_in_the_past()
Class: scheduled_allocator_test - X-Ref
Test for the scheduled allocator.test_that_allocator_in_executed_on_submission_end_when_phaseswitchassessment_is_active() X-Ref |
Tests that student submissions get automatically alocated after the submission deadline and when the workshop "Switch to the next phase after the submissions deadline" checkbox is active. |
test_that_allocator_is_not_executed_when_its_not_active() X-Ref |
No allocations are performed if the allocator is not enabled. |
activate_the_scheduled_allocator() X-Ref |
Activates and configures the scheduled allocator for the workshop. |
setup_test_course_and_workshop() X-Ref |
Creates a minimum common setup to execute tests: |
execute_workshop_cron_task() X-Ref |
Executes the workshop cron task. |
execute_allocator_cron_task() X-Ref |
Executes the scheduled allocator cron task. |
activate_switch_to_the_next_phase_after_submission_deadline() X-Ref |
Activates the "Switch to the next phase after the submissions deadline" flag in the workshop. |
set_the_submission_deadline_in_the_past() X-Ref |
Sets the submission deadline in a past time. |