This page runs all the phpUnit self-tests, and uses the PrettyTestResult subclass of TestResult to produce nice HTML output.
Unlike typical test run, expect many test cases to
fail. Exactly those with pass in their name
should succeed.
| Class | Function | Success? |
|---|---|---|
| testfixture | testFail1 | FAIL |
| testfixture | testFail2 | FAIL |
| testfixture | testPass1 | OK |
| fixture2 | Fail3 | FAIL |
| testpass2 | Fail4 | FAIL |
| moretestertests | testregexppass | OK |
| moretestertests | testregexpfail | FAIL |
| moretestertests | testregexpfailwithmessage | FAIL |
| manyfailingtests | testpass1 | OK |
| manyfailingtests | testpass2 | OK |
| manyfailingtests | testfail1 | FAIL |
| manyfailingtests | testfail2 | FAIL |
| manyfailingtests | testfail3 | FAIL |
| manyfailingtests | testfail4 | FAIL |
| manyfailingtests | testfail5 | FAIL |
| manyfailingtests | testfail6 | FAIL |
| manyfailingtests | testpass3 | OK |
| manyfailingtests | testfail7 | FAIL |
| manyfailingtests | testpass4 | OK |
| manyfailingtests | testfail8 | FAIL |
| manyfailingtests | testpass5 | OK |
| manyfailingtests | testpass6 | OK |
| manyfailingtests | testfail9 | FAIL |
| manyfailingtests | testpass7 | OK |
| manyfailingtests | testpass8 | OK |
| assertequalstests | testdifftypesfail | FAIL |
| assertequalstests | testmultilinepass | OK |
| assertequalstests | testmultilinefail | FAIL |
| assertequalstests | testmultilinefail2 | FAIL |
| assertequalsphp3errortests | testdiffclassfail | FAIL |
| assertequalsphp3errortests | testsameclasspass | OK |
| assertequalsphp3errortests | testsameclassfail | FAIL |
| assertequalsphp3errortests | testsameclassequalsfail | FAIL |
| assertequalsphp3errortests | testsameclassequalspass | OK |
| assertequalstests4 | testnullfail | FAIL |
| assertequalstests4 | testnullpass | OK |
| assertequalstests4 | testarrayvaluespass1 | OK |
| assertequalstests4 | testarrayvaluesfail1 | FAIL |
| testclassnamestartingwithtest | testwhateverpass | OK |
39 tests run
27 failures.
foobar type:stringfoobars type:string
foox type:stringfooy type:string
1 type:integer0 type:integer
1 type:integer1 type:string
/fo+ba[^m-z]/ type:stringfoobar type:string
/fo+ba[^m-z]/ type:stringfoobar type:string
1 type:integer0 type:integer
1 type:integer0 type:integer
1 type:integer0 type:integer
1 type:integer0 type:integer
1 type:integer0 type:integer
1 type:integer0 type:integer
1 type:integer0 type:integer
1 type:integer0 type:integer
1 type:integer0 type:integer
0 type:integer type:string
line2 type:stringline2 modified type:string
3 line(s) type:string4 line(s) type:string
O:11:"dummyclass1":1:{s:2:"fX";N;} type:object, class:dummyclass1DummyClass2(, ) type:object, class:dummyclass2
O:11:"dummyclass1":1:{s:2:"fX";i:1;} type:object, class:dummyclass1O:11:"dummyclass1":1:{s:2:"fX";i:2;} type:object, class:dummyclass1
DummyClass2(3, ) type:object, class:dummyclass2DummyClass2(4, ) type:object, class:dummyclass2
0 type:integera:2:{s:5:"first";i:10;s:6:"second";i:20;} type:arraya:2:{s:5:"first";i:10;s:6:"second";i:22;} type:array