MDL-73938 reportbuilder: helper methods for automating report tests.165e26fad953116eb59e9c887e1f0836021a2863
commit165e26fad953116eb59e9c887e1f0836021a2863
authorPaul Holden <paulh@moodle.com>
Fri, 11 Mar 2022 10:53:35 +0000 (11 10:53 +0000)
committerPaul Holden <paulh@moodle.com>
Mon, 5 Sep 2022 11:07:17 +0000 (5 12:07 +0100)
treea1bc79af762afb8b75eacbb65dc5a4a1e0bf8c67
parent4f94e42b5f7da287153bcacae00d2196f156ddbc
MDL-73938 reportbuilder: helper methods for automating report tests.

Implement stress tester methods for iterating over report columns,
aggregation and conditions. Assert that each works correctly in
isolation, and when used in conjunction with other columns.
admin/tests/reportbuilder/datasource/task_logs_test.php
badges/tests/reportbuilder/datasource/badges_test.php
cohort/tests/reportbuilder/datasource/cohorts_test.php [moved from cohort/tests/datasource_test.php with 89% similarity]
course/tests/reportbuilder/datasource/courses_test.php
course/tests/reportbuilder/datasource/participants_test.php
reportbuilder/tests/helpers.php
reportbuilder/upgrade.txt
tag/tests/reportbuilder/datasource/tags_test.php
user/tests/reportbuilder/datasource/users_test.php