Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]

(no description)

File Size: 230 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

maketestcourse_test:: (3 methods):
  test_make_xs_course()
  test_fixed_data_set()
  test_filesize_limit()


Class: maketestcourse_test  - X-Ref

Automated unit testing. This tests the 'make large course' backend,
using the 'XS' option so that it completes quickly.

test_make_xs_course()   X-Ref
Creates a small test course and checks all the components have been put in place.


test_fixed_data_set()   X-Ref
Creates an small test course with fixed data set and checks the used sections and users.


test_filesize_limit()   X-Ref
Creates a small test course specifying a maximum size and checks the generated files size is limited.