/ Published in: JavaScript
Reminder of the assertions possible with jstestdriver
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
fail([msg]) assertTrue([msg], actual) assertFalse([msg], actual) assertEquals([msg], expected, actual) assertSame([msg], expected, actual) assertNotSame([msg], expected, actual) assertNull([msg], actual) assertNotNull([msg], actual)
URL: http://code.google.com/p/js-test-driver/wiki/TestCase