Posted By

ddubyah17 on 02/08/11


Tagged

javascript testing oop TDD


Versions (?)

jstestdriver - Assertions


 / Published in: JavaScript
 

URL: http://code.google.com/p/js-test-driver/wiki/TestCase

Reminder of the assertions possible with jstestdriver

  1. fail([msg])
  2. assertTrue([msg], actual)
  3. assertFalse([msg], actual)
  4. assertEquals([msg], expected, actual)
  5. assertSame([msg], expected, actual)
  6. assertNotSame([msg], expected, actual)
  7. assertNull([msg], actual)
  8. assertNotNull([msg], actual)

Report this snippet  

You need to login to post a comment.