Tuesday, May 3, 2011
1) When an "assert" fails, the test will be aborted. Where if a "verify" fails, the test will continue executing and logging the failure. 2) assertions are used when u really want to check some things and make sure that it works. If assertions fail ur test will fail with assertions Failure exception and your test case execution will stop . Verify will not cause ur test case to stop but u will have failure in the logs.