Prev Next

Testing / Junit Interview questions II

Differentiate Assert and Verify.

Assert works only if assertions ( -ea ) are enabled which is not required for Verify.

Assert throws an exception and hence it discontinue abruptly with the test if assert evaluates to false whereas it's not so with Verify.

More Related questions...

Show more question and Answers...


Comments & Discussions