PHPUnit is a unit testing framework for the PHP programming language. It is instance of the xUnit architecture which originated with SUnit and was popularised by JUnit -- source.
- assertEquals ($val1, $val2, $delta, $message)
- assertFalse ($expression, $message)
- assertTrue ($expression, $message)
- assertNotNull ($val, $message)
- assertSame ($val1, $val2, $message) # must be references to same object
- assertNotSame ($val1, $val2, $message)
Written by Stephen Moon ([email protected]), 2016