Posted By


ddubyah17 on 02/08/11

Tagged


Statistics


Viewed 441 times
Favorited by 0 user(s)

jstestdriver - Assertions


/ Published in: JavaScript
Save to your folder(s)

Reminder of the assertions possible with jstestdriver


Copy this code and paste it in your HTML
  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)

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.