断言

函数名 参数 介绍 说明 返回
assertTrue ($result, $message = ‘%s’) 断言true
assertFalse
assertEqual ($first, $second, $message = ‘%s’) 断言相等
assertNotEqual 断言不相等

assertNull
assertNotNull
assertIsA
assertNotA
assertEqual
assertNotEqual
assertWithinMargin
assertOutsideMargin
assertIdentical
assertNotIdentical
assertReference
assertSame
assertClone
assertCopy
assertPattern
assertNoPattern



setUp
tearDown




expectError
expectException
ignoreException
getLabel
skip
skipIf
shouldSkip
skipUnless
createInvoker
run
getTests
isTest
before

after
tell
pass
fail
error
exception
signal
assert
escapePercentageSignsExceptFirst
getAssertionLine
dump
getSize