Skip to content

Instantly share code, notes, and snippets.

@kurtpayne
Last active December 11, 2015 16:19
Show Gist options
  • Save kurtpayne/4627332 to your computer and use it in GitHub Desktop.
Save kurtpayne/4627332 to your computer and use it in GitHub Desktop.
Unit tests for 3.5.1
kpayne@localhost:/cygdrive/c/wamp/www/wordpress-unit-tests$ svn status
X data/plugins/wordpress-importer
X data/wpcom-themes
X wordpress
Performing status on external item at 'data/wpcom-themes':
Performing status on external item at 'data/plugins/wordpress-importer':
Performing status on external item at 'wordpress':
M /cygdrive/c/wamp/www/wordpress-unit-tests/wordpress
? /cygdrive/c/wamp/www/wordpress-unit-tests/wordpress/wp-content/blogs.dir
X /cygdrive/c/wamp/www/wordpress-unit-tests/wordpress/wp-content/plugins/akismet
? /cygdrive/c/wamp/www/wordpress-unit-tests/wordpress/wp-content/uploads
? /cygdrive/c/wamp/www/wordpress-unit-tests/wordpress/wp-includes/editors
Performing status on external item at 'wordpress/wp-content/plugins/akismet':
kpayne@localhost:/cygdrive/c/wamp/www/wordpress-unit-tests$ svn info wordpress
Path: wordpress
Working Copy Root Path: /cygdrive/c/wamp/www/wordpress-unit-tests/wordpress
URL: https://core.svn.wordpress.org/branches/3.5
Repository Root: https://core.svn.wordpress.org
Repository UUID: 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revision: 23343
Node Kind: directory
Schedule: normal
Last Changed Author: nacin
Last Changed Rev: 23343
Last Changed Date: 2013-01-24 13:14:49 -0700 (Thu, 24 Jan 2013)
kpayne@localhost:/cygdrive/c/wamp/www/wordpress-unit-tests$ phpunit
Installing...
/bin/sh: /usr/sbin/sendmail: No such file or directory
Running as single site... To run multisite, use -c multisite.xml
Not running ajax tests... To execute these, use --group ajax.
PHPUnit 3.7.1 by Sebastian Bergmann.
Configuration read from /cygdrive/c/wamp/www/wordpress-unit-tests/phpunit.xml
................................S........................SS.. 61 / 1654 ( 3%)
...SS...SSSSSS.............S..SSS..........SS................ 122 / 1654 ( 7%)
S...........S......SSSS..........................SSSSF...SSS. 183 / 1654 ( 11%)
.SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS..S...................S.... 244 / 1654 ( 14%)
..................F...S............S.................SSSSSSSS 305 / 1654 ( 18%)
SS........S................S........F.........S.......I...... 366 / 1654 ( 22%)
...........................SSSS.S..SSSSS..................... 427 / 1654 ( 25%)
............................................................. 488 / 1654 ( 29%)
............................................................. 549 / 1654 ( 33%)
............................................................. 610 / 1654 ( 36%)
............................................................. 671 / 1654 ( 40%)
..........................................................S.. 732 / 1654 ( 44%)
............................SS............SS................. 793 / 1654 ( 47%)
.......................SS.................................... 854 / 1654 ( 51%)
...........SSSSSSSSSSSS.............................SSSSSS... 915 / 1654 ( 55%)
.....S.SSSSSS.....................SSSSSSSSS..........SS...... 976 / 1654 ( 59%)
.......................................SS...............SSSS. 1037 / 1654 ( 62%)
...SSS..................................SSS.................. 1098 / 1654 ( 66%)
.................................................S........... 1159 / 1654 ( 70%)
...........................................................SS 1220 / 1654 ( 73%)
SS...........................SSSSS........................... 1281 / 1654 ( 77%)
...S..................S...................................... 1342 / 1654 ( 81%)
................SSSS......................S.................. 1403 / 1654 ( 84%)
.........................................................S... 1464 / 1654 ( 88%)
............................................................. 1525 / 1654 ( 92%)
.........................................................SS.. 1586 / 1654 ( 95%)
...........SSSSSSSSSS
Time: 01:10, Memory: 74.75Mb
There were 3 failures:
1) Tests_Dependencies_jQuery::test_location_of_jquery
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
+ 0 => 'jquery-core'
+ 1 => 'jquery-migrate'
)
/cygdrive/c/wamp/www/wordpress-unit-tests/includes/testcase.php:84
/cygdrive/c/wamp/www/wordpress-unit-tests/tests/dependencies/jquery.php:18
2) Tests_Formatting_EscUrl::test_protocol_case
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'http://example.com'
+''
/cygdrive/c/wamp/www/wordpress-unit-tests/tests/formatting/EscUrl.php:42
3) Tests_Formatting_SanitizeTitleWithDashes::test_replaces_acute_accents
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'aaaa'
+'aa%cd%81a%c2%b4a%cb%8a'
/cygdrive/c/wamp/www/wordpress-unit-tests/tests/formatting/SanitizeTitleWithDashes.php:104
FAILURES!
Tests: 1607, Assertions: 6972, Failures: 3, Incomplete: 1, Skipped: 175.
kpayne@localhost:/cygdrive/c/wamp/www/wordpress-unit-tests$ phpunit --group ajax
Running as single site... To run multisite, use -c multisite.xml
PHPUnit 3.7.1 by Sebastian Bergmann.
Configuration read from /cygdrive/c/wamp/www/wordpress-unit-tests/phpunit.xml
.......................................S.......
Time: 32 seconds, Memory: 48.75Mb
OK, but incomplete or skipped tests!
Tests: 47, Assertions: 186, Skipped: 1.
kpayne@localhost:/cygdrive/c/wamp/www/wordpress-unit-tests$ phpunit -c multisite.xml
Installing...
/bin/sh: /usr/sbin/sendmail: No such file or directory
Installing network...
Running as multisite...
Not running ajax tests... To execute these, use --group ajax.
PHPUnit 3.7.1 by Sebastian Bergmann.
Configuration read from /cygdrive/c/wamp/www/wordpress-unit-tests/multisite.xml
................................S........................SS.. 61 / 1680 ( 3%)
...SS...SSSSSS.............S..SSS..........SS................ 122 / 1680 ( 7%)
S...........S......SSSS..........................SSSSF...SSS. 183 / 1680 ( 10%)
.SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS..S...................S.... 244 / 1680 ( 14%)
..................F...S............S.................SSSSSSSS 305 / 1680 ( 18%)
SS........S................S........F.........S.......I...... 366 / 1680 ( 21%)
...........................SSSS.S..SSSSS..................... 427 / 1680 ( 25%)
............................................................. 488 / 1680 ( 29%)
............................................................. 549 / 1680 ( 32%)
............................................................. 610 / 1680 ( 36%)
............................................................. 671 / 1680 ( 39%)
..........................................................S.. 732 / 1680 ( 43%)
............................SS............SS................. 793 / 1680 ( 47%)
.......................SS.................................... 854 / 1680 ( 50%)
...........SSSSSSSSSSSS.............................SSSSSS... 915 / 1680 ( 54%)
.....S.SSSSSS.....................SSSSSSSSS..........S....... 976 / 1680 ( 58%)
..................SS......................................... 1037 / 1680 ( 61%)
....SS...............SSSS....SSS............................. 1098 / 1680 ( 65%)
.....SSS..................................................... 1159 / 1680 ( 68%)
..............S.............................................. 1220 / 1680 ( 72%)
........................SSSS...........................SSSSS. 1281 / 1680 ( 76%)
...........................SSSSSS...............S............ 1342 / 1680 ( 79%)
..........................................SSSS............... 1403 / 1680 ( 83%)
.......S..................................................... 1464 / 1680 ( 87%)
......................S...................................... 1525 / 1680 ( 90%)
............................................................. 1586 / 1680 ( 94%)
......................SS.............SSSSSSSSSS
Time: 01:27, Memory: 78.50Mb
There were 3 failures:
1) Tests_Dependencies_jQuery::test_location_of_jquery
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
+ 0 => 'jquery-core'
+ 1 => 'jquery-migrate'
)
/cygdrive/c/wamp/www/wordpress-unit-tests/includes/testcase.php:84
/cygdrive/c/wamp/www/wordpress-unit-tests/tests/dependencies/jquery.php:18
2) Tests_Formatting_EscUrl::test_protocol_case
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'http://example.com'
+''
/cygdrive/c/wamp/www/wordpress-unit-tests/tests/formatting/EscUrl.php:42
3) Tests_Formatting_SanitizeTitleWithDashes::test_replaces_acute_accents
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'aaaa'
+'aa%cd%81a%c2%b4a%cb%8a'
/cygdrive/c/wamp/www/wordpress-unit-tests/tests/formatting/SanitizeTitleWithDashes.php:104
FAILURES!
Tests: 1633, Assertions: 7585, Failures: 3, Incomplete: 1, Skipped: 181.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment