package com.seleniumtests.tests;

import com.seleniumtests.core.SeleniumTestPlan;
import org.testng.annotations.Test;

public class RetryTest2 extends SeleniumTestPlan {

    /**
     * Will not retry as test would never fail
     */
	@Test(groups="retryTest2", description = "Will not retry as test would never fail")
	public void retryFailedTest() {
		assert 1==1:"always pass";
	}
}

@@ -38,47 +38,211 @@
 ort 
-com.seleniumtests.core.SeleniumTestPlan
+static com.seleniumtests.core.CustomAssertion.*;%0Aimport com.seleniumtests.core.SeleniumTestPlan;%0Aimport static org.hamcrest.CoreMatchers.*;%0Aimport org.hamcrest.MatcherAssert;%0Aimport org.hamcrest.Matchers
 ;%0Aim
@@ -276,16 +276,42 @@
 .Test;%0A%0A
+/**%0A * Using Matchers%0A */%0A
 public c
@@ -469,42 +469,44 @@
 ill 
-not 
 retry 
-as test would never fail
+failed assertions in this test
 %22)%0A%09
@@ -541,35 +541,458 @@
 ) %7B%0A
-%09%09assert 1==1:%22always pass%22
+        assertThat(%221 is always equal to 1%22, 1==1);  // This won't fail%0A        assertThat(%221 can not be equal to 2%22, 1, is(2));%0A        assertThat(%222 is always equal to 2%22, 2, equalTo(2));   // This won't fail%0A        assertThat(%222 is always equal to 2%22, 2, is(equalTo(2)));   // Same as previous statement%0A        assertThat(%222 can not be equal to 3%22, 2, is(3));%0A        MatcherAssert.assertThat(%22Hello%22, allOf(equalTo(%22Hello1%22), equalTo(%22Hello%22)))
 ;%0A%09%7D

update test