Unlike a typical test run, expect many test cases to
fail. Exactly those with pass in their
name should succeed.
For each test we display both the test result -- ok, FAIL, or ERROR -- and also a meta-result -- as expected, UNEXPECTED, or unknown -- that indicates whether the expected test result occurred. Although many test results will be 'FAIL' here, all meta-results should be 'as expected', except for a few 'unknown' meta-results (because of errors) when running in PHP3.
| Test name | Result | Meta-result |
|---|---|---|
| TestFixture - testFail1 | FAIL | as expected |
| TestFixture - testFail2 | FAIL | as expected |
| TestFixture - testPass1 | OK | as expected |
| Fixture2 - Fail3 | FAIL | as expected |
| TestPass2 - Fail4 | FAIL | as expected |
| MoreTesterTests - testRegexpPass | OK | as expected |
| MoreTesterTests - testRegexpFail | FAIL | as expected |
| MoreTesterTests - testRegexpFailWithMessage | FAIL | as expected |
| ManyFailingTests - testPass1 | OK | as expected |
| ManyFailingTests - testPass2 | OK | as expected |
| ManyFailingTests - testFail1 | FAIL | as expected |
| ManyFailingTests - testFail2 | FAIL | as expected |
| ManyFailingTests - testFail3 | FAIL | as expected |
| ManyFailingTests - testFail4 | FAIL | as expected |
| ManyFailingTests - testFail5 | FAIL | as expected |
| ManyFailingTests - testFail6 | FAIL | as expected |
| ManyFailingTests - testPass3 | OK | as expected |
| ManyFailingTests - testFail7 | FAIL | as expected |
| ManyFailingTests - testPass4 | OK | as expected |
| ManyFailingTests - testFail8 | FAIL | as expected |
| ManyFailingTests - testPass5 | OK | as expected |
| ManyFailingTests - testPass6 | OK | as expected |
| ManyFailingTests - testFail9 | FAIL | as expected |
| ManyFailingTests - testPass7 | OK | as expected |
| ManyFailingTests - testPass8 | OK | as expected |
| AssertEqualsTests - testDiffTypesFail | FAIL | as expected |
| AssertEqualsTests - testMultiLinePass | OK | as expected |
| AssertEqualsTests - testMultiLineFail | FAIL | as expected |
| AssertEqualsTests - testMultiLineFail2 | FAIL | as expected |
| AssertEqualsPhp3ErrorTests - testDiffClassFail | FAIL | as expected |
| AssertEqualsPhp3ErrorTests - testSameClassPass | OK | as expected |
| AssertEqualsPhp3ErrorTests - testSameClassFail | FAIL | as expected |
| AssertEqualsPhp3ErrorTests - testSameClassEqualsFail | FAIL | as expected |
| AssertEqualsPhp3ErrorTests - testSameClassEqualsPass | OK | as expected |
| AssertEqualsTests4 - testNullFail | FAIL | as expected |
| AssertEqualsTests4 - testNullPass | OK | as expected |
| AssertEqualsTests4 - testArrayValuesPass1 | OK | as expected |
| AssertEqualsTests4 - testArrayValuesFail1 | FAIL | as expected |
| TestClassNameStartingWithTest - testWhateverPass | OK | as expected |
39 tests run
26 failures
0 errors.
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