Skip to content

Instantly share code, notes, and snippets.

@timhunt
Created November 4, 2014 17:14
Show Gist options
  • Save timhunt/f826e4b7080f2df67707 to your computer and use it in GitHub Desktop.
Save timhunt/f826e4b7080f2df67707 to your computer and use it in GitHub Desktop.
Moodle 2.8 RC1 PHPUnit results Windows 7 + MariaDB 10.0 + Cygwin
tjh238@PCD265396 ~/workspace/moodle_head
$ vendor/phpunit/phpunit/composer/bin/phpunit
Moodle 2.8rc1 (Build: 20141104), mariadb, 6ce4b8ea30ec3c5d843d0d8358c402f8302a2a65
PHPUnit 3.7.38 by Sebastian Bergmann.
Configuration read from C:\Users\tjh238\workspace\moodle_head\phpunit.xml
............................................................. 61 / 3767 ( 1%)
............................................................. 122 / 3767 ( 3%)
............................................................. 183 / 3767 ( 4%)
........................F.................................... 244 / 3767 ( 6%)
............................................................. 305 / 3767 ( 8%)
..................................................S.......... 366 / 3767 ( 9%)
............................................................. 427 / 3767 ( 11%)
............................................................. 488 / 3767 ( 12%)
............................................................. 549 / 3767 ( 14%)
............................................................. 610 / 3767 ( 16%)
............................................................. 671 / 3767 ( 17%)
............................................................. 732 / 3767 ( 19%)
............................................................. 793 / 3767 ( 21%)
............................................................. 854 / 3767 ( 22%)
............................................................. 915 / 3767 ( 24%)
............................................................. 976 / 3767 ( 25%)
............................................................. 1037 / 3767 ( 27%)
............................................................. 1098 / 3767 ( 29%)
............................................................. 1159 / 3767 ( 30%)
............................................................. 1220 / 3767 ( 32%)
............................................................. 1281 / 3767 ( 34%)
............................................................. 1342 / 3767 ( 35%)
............................................................. 1403 / 3767 ( 37%)
............................................................. 1464 / 3767 ( 38%)
............................................................. 1525 / 3767 ( 40%)
............................................................. 1586 / 3767 ( 42%)
............................................................. 1647 / 3767 ( 43%)
............................................................. 1708 / 3767 ( 45%)
...................................S.S....................... 1769 / 3767 ( 46%)
...............E............................................. 1830 / 3767 ( 48%)
..................................................SS.SSSSSS.. 1891 / 3767 ( 50%)
.....................S....................................... 1952 / 3767 ( 51%)
............................................................. 2013 / 3767 ( 53%)
............................................................. 2074 / 3767 ( 55%)
............................................................. 2135 / 3767 ( 56%)
............................................................. 2196 / 3767 ( 58%)
............................................................. 2257 / 3767 ( 59%)
............................................................. 2318 / 3767 ( 61%)
............................................................. 2379 / 3767 ( 63%)
............................................................. 2440 / 3767 ( 64%)
............................................................. 2501 / 3767 ( 66%)
............................................................. 2562 / 3767 ( 68%)
...SSSS...................................................... 2623 / 3767 ( 69%)
............................................................. 2684 / 3767 ( 71%)
............................................................. 2745 / 3767 ( 72%)
............................................................. 2806 / 3767 ( 74%)
............................................................. 2867 / 3767 ( 76%)
............................................................. 2928 / 3767 ( 77%)
............................................................. 2989 / 3767 ( 79%)
............................................................. 3050 / 3767 ( 80%)
..........................S.....S.S.......................... 3111 / 3767 ( 82%)
............................................................. 3172 / 3767 ( 84%)
............................................................. 3233 / 3767 ( 85%)
............................................................. 3294 / 3767 ( 87%)
............................................................. 3355 / 3767 ( 89%)
..........................................SF...F............. 3416 / 3767 ( 90%)
............................................................. 3477 / 3767 ( 92%)
............................................................. 3538 / 3767 ( 93%)
............................................................. 3599 / 3767 ( 95%)
............................................................. 3660 / 3767 ( 97%)
............................................................. 3721 / 3767 ( 98%)
..............................................
Time: 1.87 hours, Memory: 526.50Mb
There was 1 error:
1) block_workflow_automatic_step_finisher_test::test_automatic_step_finisher
coding_exception: Coding error detected, it must be fixed by a programmer: Component mod_externalquiz does not support generators yet. Missing tests/generator/lib.php.
C:\Users\tjh238\workspace\moodle_head\lib\testing\generator\data_generator.php:121
C:\Users\tjh238\workspace\moodle_head\lib\testing\generator\data_generator.php:465
C:\Users\tjh238\workspace\moodle_head\blocks\workflow\tests\autostepfinisher_test.php:202
C:\Users\tjh238\workspace\moodle_head\lib\phpunit\classes\advanced_testcase.php:80
To re-run:
vendor/phpunit/phpunit/composer/bin/phpunit block_workflow_automatic_step_finisher_test blocks\workflow\tests\autostepfinisher_test.php
--
There were 3 failures:
1) core_admintree_testcase::test_admin_setting_configexecutable
Failed asserting that '
<div class="form-item clearfix" id="admin-test1">
<div class="form-label">
<label for = "id_s__test1">Text 1</label>
<span class="form-shortname">test1</span>
</div>
<div class="form-setting"><div class="form-file defaultsnext"><input type="text" size="50" id="id_s__test1" name="s__test1" value="C:\Users\tjh238\workspace\moodle_head/filter/tex/mimetex.exe" /><span class="patherror">&#x2718;</span></div><div class="form-defaultinfo">Default: Empty</div></div>
<div class="form-description"><p>Help Path</p>
</div>
</div>' matches PCRE pattern "/class="pathok"/".
C:\Users\tjh238\workspace\moodle_head\lib\tests\admintree_test.php:142
C:\Users\tjh238\workspace\moodle_head\lib\phpunit\classes\advanced_testcase.php:80
To re-run:
vendor/phpunit/phpunit/composer/bin/phpunit core_admintree_testcase lib\tests\admintree_test.php
2) stack_maths_tex_test::test_tex_rendering
Failed asserting that 'Your answer needs to be a single fraction of the form <span class="MathJax_Preview"><a title="TeX" href="http://www.example.com/moodle/filter/tex/displaytex.php?texexp=%20%7Ba%7D%5Cover%7Bb%7D%20" id="action_link5458f0c78aa49350"><img class="texrender" title=" {a}\over{b} " alt=" {a}\over{b} " src="http://www.example.com/moodle/filter/tex/pix.php/b2539acaaba44bf7a1169e86b3c1b032.gif" /></a></span><script type="math/tex"> {a}\over{b} </script> . ' matches PCRE pattern "~^Your answer needs to be a single fraction of the form <a .*alt=" \{a\}\\over\{b\} ".*</a> \. $~".
C:\Users\tjh238\workspace\moodle_head\question\type\stack\tests\mathsoutputtex_test.php:46
C:\Users\tjh238\workspace\moodle_head\lib\phpunit\classes\advanced_testcase.php:80
To re-run:
vendor/phpunit/phpunit/composer/bin/phpunit stack_maths_tex_test question\type\stack\tests\mathsoutputtex_test.php
3) stack_potentialresponse_node_test::test_do_test_cas_error
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'The answer test failed to execute correctly: please alert your teacher. Division by zero.'
+'The answer test failed to execute correctly: please alert your teacher. Division by 0part: invalid index of list or matrix.'
C:\Users\tjh238\workspace\moodle_head\question\type\stack\tests\potentialresponsenode_test.php:109
C:\Users\tjh238\workspace\moodle_head\lib\phpunit\classes\advanced_testcase.php:80
To re-run:
vendor/phpunit/phpunit/composer/bin/phpunit stack_potentialresponse_node_test question\type\stack\tests\potentialresponsenode_test.php
FAILURES!
Tests: 3767, Assertions: 59520, Failures: 3, Errors: 1, Skipped: 20.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment