JSUnit Question:
Download Questions PDF

Tell me list of JSUnit Testing assertions that we can use?

Answer:

Some of the JSUnit Testing assertions are:

ass: (assert) checks if a value is convertible into a logical true value
equ: (equals) compare two values using the == operator
ide: (identity) compare two values using the === operator
neq: (inequals) compare two values using the != operator
gre: (greater) compare two values using the > operator
lss: (less) compare two values using the < operator
geq: (greater or equal) compare two values using the >= operator
leq: (less or equal) compare two values using the <= operator

Download JSUnit Interview Questions And Answers PDF

Previous QuestionNext Question
Explain 3 levels of JSUnit grouping?What is JsUnit?