Commit Graph

25 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
801a372dad MDL-60611 phpunit: switch to namespaced phunit classes 2017-11-02 23:45:34 +01:00
Petr Škoda
54f1423ecc MDL-44510 support PHPUnit 4.x
The old style PEAR installation is incompatible with PHPUnit 4,
nobody was supposed to use PEAR any more - composer
is the only supported library installation method now.
2014-03-20 17:30:42 +08:00
Petr Škoda
e87214bda7 MDL-42078 multiple uninstall improvements and cleanup
Includes:
* update checker refactored to \core\update\ namespace
* plugininfo classes refactored to \core\plugininfo\ namespace
* plugin_manager renamed to core_plugin_manager
* redirect back to original page after plugin uninstall
* fixed assign subplugin uninstall
* move assign subplugins under the assignment in admin tree
* fixed plugininfo for all question related plugin types
* auth uninstall support
* added missing block dependencies
* added theme uninstall
* subplugin types are following the plugin on plugin overview page
* several performance improvements in plugin manager
* new warnigns when plugininfo are outdated or missing
* multiple fixes and other improvements
2013-10-07 13:10:36 +02:00
Petr Škoda
d7245e3400 MDL-40475 add alternative component cache location and other improvements
Improvements include:
* Alternative location might be useful when server administrator wants to maintain
  a local copy of component cache instead of using shared $CFG->cachedir.
* Component caching is now enabled in behat tests which should improve performance.
* Standardised ignoring of component caching.
* Fixed debug mode in ABORT_AFTER_CONFIG scripts.
* General documentation improvements.
2013-07-12 13:05:41 +02:00
Petr Škoda
2cc9fa88f6 MDL-39343 disables MUC caches in phpunit and behat install/drop 2013-04-30 15:05:53 +02:00
David Monllao
25919739fd MDL-38364 phpunit: PHPUnit autoload uses capital A 2013-03-20 16:02:40 +08:00
Petr Škoda
94388d18ca MDL-38364 rework PHPUnit autoloading
This is related to BC incompatibility introduced in https://github.com/sebastianbergmann/phpunit/issues/848
2013-03-17 19:54:55 +01:00
David Monllao
0ea35584ae MDL-37458 testing common methods generalization 2013-01-18 09:17:30 +08:00
David Monllao
3f7211f45a MDL-37458 testing lock externalization 2013-01-16 13:43:25 +08:00
Petr Škoda
3a7bc16ad7 MDL-36701 support for PHPUnit installation via Composer packaging system
See http://getcomposer.org/doc/00-intro.md
2012-11-20 11:27:35 +01:00
Tim Hunt
85b72a7511 MDL-34889 phpunit: progress output in util.php --drop.
It is slow for me, and it is nice to know that something is going on.
2012-08-16 17:13:59 +01:00
Petr Škoda
d606bee9ce MDL-34147 use cygwin style paths in phpunit hints 2012-07-06 07:58:44 +02:00
Petr Skoda
8e5c963e6b MDL-32587 improve component phpunit config building and make the util.php help fit 80char screens 2012-04-27 13:42:18 +02:00
Eloy Lafuente (stronk7)
cb48174266 MDL-32587 phpunit: new option to create distributed phpunit.xml files 2012-04-27 13:42:17 +02:00
Petr Skoda
0684ea9972 MDL-32400 do not silence diagnostic PHPUnit includes 2012-04-15 12:23:42 +02:00
Petr Skoda
0d8e51a65f MDL-32400 rework phpunit exit codes, use only php based init 2012-04-15 12:23:42 +02:00
Petr Skoda
4e5ff72ea7 MDL-32323 always verify that database PHPUnit extension is available 2012-04-10 21:15:33 +02:00
Petr Skoda
2fde539255 MDL-32323 fix PHPUNIT_UTIL constant usage 2012-04-10 15:27:06 +02:00
Petr Skoda
4be2ad3660 MDL-32323 prevent concurrent execution of unit tests 2012-04-10 15:27:03 +02:00
Petr Skoda
3604563c79 MDL-32323 allow execution of tests through util.php and add option to include alternative phpunit files (for testing only!) 2012-04-10 15:27:02 +02:00
Petr Skoda
6e2cff2d81 MDL-32323 minor phpunit related improvements and cleanup 2012-04-10 15:27:01 +02:00
Petr Skoda
7b0ff21385 MDL-32323 experimental web UI for execution of PHPUnit tests
It is not localised intentionally because only developers should use it…
2012-04-10 15:27:01 +02:00
Petr Skoda
4b17369567 MDL-32323 all-in-one PHPUnit init script 2012-04-10 15:27:01 +02:00
Petr Skoda
a3d5830a0a MDL-32149 PHPUnit test support - part 2
Includes:
* constants refactoring
* reworked db table init
* support for $CFG->debug = -1
* functional DB tests
* fixed $DB->get_indexes() to not throw exceptions when table does not exist
* fix handling of user passwords in test db
* add debug info to exception messages
* removed unnecessary PHP debug errors from mathslib
* fixed @error suppression in get_string
* fixed PHPUnit error handler setup
* added timezone info to default install
2012-04-03 22:30:53 +02:00
Petr Skoda
5bd4040866 MDL-31857basic phpunit support
Thanks Eloy Lafuente, Tim Hunt and Sam Hemelryk for valuable feedback and ideas.
2012-03-21 10:31:37 +01:00