Petr Skoda
6aaae357c9
MDL-32323 add schema for phpunit.xml configuration file
...
Credit goes to https://github.com/gooh/phpunit-schema , thanks Gordon Oheim!
2012-04-10 15:27:01 +02:00
Petr Skoda
6761e62d6d
MDL-32149 link wiki docs and tracker from phpunit readme file
2012-04-03 23:08:25 +02:00
Petr Skoda
ce80640051
MDL-32149 final readme cleanup for stage 2 of PHPUnit integration
2012-04-03 22:50:45 +02:00
Petr Skoda
7fe8aac1a7
MDL-32149 add quiz unit tests
2012-04-03 22:31:02 +02:00
Petr Skoda
e72ea4a5e4
MDL-32149 add basic file picker test and new way to set current user via int
...
Please note that testing of individual plugins should not be done in repositorylib_test.php.
2012-04-03 22:31:01 +02:00
Petr Skoda
b0e980d77f
MDL-32149 prevent accidental overriding of testcase constructors, use setUpBeforeClass() instead
2012-04-03 22:31:01 +02:00
Petr Skoda
4c6062ea65
MDL-32149 scale generator and workshop tests
2012-04-03 22:31:00 +02:00
Petr Skoda
03c2d04d0a
MDL-32149 make complete PHPUnit test time 2s faster
2012-04-03 22:31:00 +02:00
Petr Skoda
7514f9c243
MDL-32149 allow defining of PHPUNIT_LONGTEST from /config.php and improve acceslib tests
2012-04-03 22:30:59 +02:00
Petr Skoda
354b214c9f
MDL-32149 courselib tests and support for generation of course sections
2012-04-03 22:30:57 +02:00
Petr Skoda
4b02743182
MDL-32149 improve testcase naming and list in config file
2012-04-03 22:30:57 +02:00
Petr Skoda
1cbf2a20ca
MDL-32149 setUp() and tearDown() are supposed to be 'protected', add missing blog testcase
2012-04-03 22:30:56 +02:00
Petr Skoda
4ac88d6d10
MDL-32149 remaining phpunit tests for backup/restore
2012-04-03 22:30:55 +02:00
Petr Skoda
728eadac78
MDL-32149 significantly faster database reset, "util.php --drop" can now be interrupted at any time
2012-04-03 22:30:54 +02:00
Petr Skoda
dbf5a44798
MDL-32149 add backup tests and dropping of extra tables
2012-04-03 22:30:54 +02:00
Petr Skoda
458b33866d
MDL-32149 reset all globals in PHPUnit tests, fix setting of $USER
2012-04-03 22:30:54 +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
Sam Hemelryk
7aea08e1b0
MDL-31857 phpunit: PHPDoc and typo fixes during integration
2012-03-22 10:45:17 +13: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