moodle-plugin-ci icon indicating copy to clipboard operation
moodle-plugin-ci copied to clipboard

include basic GDPR tests

Open ewallah opened this issue 6 years ago • 2 comments

It would be great if there was some basic GDPR compliance testing.

One can already add some lines to the .travis file to do the job:

script:
  - /home/travis/build/moodle/vendor/bin/phpunit "provider_testcase" /home/travis/build/moodle/privacy/tests/provider_test.php
  - /home/travis/build/moodle/vendor/bin/phpunit "tool_dataprivacy_expired_contexts_testcase" /home/travis/build/moodle/admin/tool/dataprivacy/tests/expired_contexts_test.php  

But perhaps all gdpr related commands could be merged into moodle-plugin-ci gdpr

ewallah avatar Aug 16 '19 08:08 ewallah

+1 to moodle-plugin-ci gdpr command.

polothy avatar Aug 16 '19 16:08 polothy

Proof of concept submitted in https://github.com/ewallah/moodle-plugin-ci

Works in 3.7 - 3.8 - master: https://travis-ci.org/ewallah/moodle-plugin-ci/jobs/650857771#L455 Fails in 3.6 - 3.5 - 3.4 - https://travis-ci.org/ewallah/moodle-plugin-ci/jobs/650857773#L497 due to "Too many open files"

Someone has an idea how to raise the amount of open files in travis?

ewallah avatar Feb 15 '20 18:02 ewallah