Petr Škoda
2ea6d5686f
MDL-34893 use standard options in Hint_ResultPrinter
...
This is a very nasty hack!
2012-08-19 22:09:46 +02:00
Petr Skoda
bd672f7830
MDL-33436 include phpunit printer file from our lib.php
...
The problem is that the phpunit.xml does not support relative links.
2012-06-02 21:48:26 +02:00
Dan Poltawski
a4d0f6f06a
Merge branch 'w20_MDL-32868_m23_iplookup' of git://github.com/skodak/moodle
2012-05-18 11:05:28 +08:00
Petr Skoda
1d4d115ae1
MDL-32868 document PHPUNIT_LONGTEST in phpunit.xml.dist
2012-05-15 15:35:48 +02:00
Petr Skoda
ed7259d112
MDL-32923 on failure print hint how to execute the failed test case
2012-05-13 09:56:57 +02:00
Petr Skoda
08ad325702
MDL-32960 put phpunit integration tests to one test suite and execute them first
2012-05-12 21:33:23 +02:00
Petr Skoda
64b0f3ab68
MDL-32868 fix iplookup inconsistencies and add missing unit tests
...
Please note you need to define PHPUNIT_LONGTEST in config.php or phpunit.xml to get the tests to execute because it takes long time to fetch the geoip data and we do not want to DDOS geoPlugin server.
2012-05-12 14:25:01 +02:00
David Mudrak
8f110835c1
MDL-32471 adding preview generation unit tests
...
The test image is a public domain file from
http://commons.wikimedia.org/wiki/File:Easter_eggs_-_onion_decoration.jpg
2012-04-25 11:42:17 +02:00
Petr Skoda
603bd00112
MDL-32323 convert question tests
...
1/ type/match/tests/walkthrough_test.php - tests are failing randomly, looks like some weird randomisation is going on there - see TODOs
2/ type/multianswer/tests/upgradelibnewqe_test.php contains invalid expected value - see TODO
2012-04-10 15:27:11 +02:00
Petr Skoda
948d46da34
MDL-32323 add grade tests
2012-04-10 15:27:10 +02:00
Petr Skoda
fe11e694d1
MDL-32323 test database first, if DML/DDL fails everything else will too
2012-04-10 15:27:04 +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
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
5073880583
MDL-32149 grade related tests
2012-04-03 22:31:03 +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
dbf5a44798
MDL-32149 add backup tests and dropping of extra tables
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