Petr Skoda
8270a62377
MDL-85666 phpunit: add general plugin tests
...
This defines new group which can be used
to limit execution of these tests to one plugin only.
For example to execute all tests for Label module use:
phpunit --testsuite=mod_label_testsuite
phpunit --group=plugin_checks --filter=mod_label
or
phpunit --filter=mod_label
2025-07-02 07:11:49 +02:00
Andrew Nicols
55126be4ad
MDL-81520 core: Fix test finality
2024-12-11 12:30:21 +08:00
Andrew Nicols
c6942c9bb7
MDL-81521 core: Update all possibly data providers to be static
...
Note: Some data providers could not be automatically be converted to
being static. These will be handled in a separate issue.
2024-11-18 10:24:55 +08:00
Eloy Lafuente (stronk7)
361dfe8145
MDL-75952 general: Since php81, refection->setAccessible() is no-op
...
Refereces:
- https://wiki.php.net/rfc/make-reflection-setaccessible-no-op
- https://www.php.net/manual/en/reflectionproperty.setaccessible.php
- https://www.php.net/manual/en/reflectionmethod.setaccessible.php
As of PHP 8.1.0, calling this method has no effect; all methods are
invokable by default. So, let's remove all uses from core, they are
no-op.
2024-03-10 21:15:00 +01:00
Petr Skoda
16729b7f02
MDL-78192 external: allow nullable non-scalar params and results
2023-06-23 11:12:08 +02:00
Philipp Memmel
31bad4ffcd
MDL-78049 core_external: Run test_all_external_info in separate process
2023-04-27 08:27:07 +02:00
Petr Skoda
176191dab5
MDL-74936 core: tidy up context API
2023-03-31 23:09:39 +02:00
Jun Pataleta
7a85d041d7
MDL-75085 core_external: Pass proper $required param value in tests
2023-02-02 09:08:29 +08:00
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
Andrew Nicols
188dfcbf8c
MDL-76583 core_external: External API Test coding style fixes
2023-01-19 07:33:47 +08:00
Andrew Nicols
cdd51a663b
MDL-76583 core_external: Move external_api unit tests
2023-01-19 07:33:34 +08:00