title: TestNG does not continue execute tests after failure
body: <p>I have test automation framework with a page object model.
  All my test are located in separate classes in same package.</p>
  
  <p>In testng.xml i have</p>
  
  <pre><code>&lt;!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" &gt;
  &lt;suite name="Smoke Test"&gt;
      &lt;test name="SmokeTest"&gt;
          &lt;classes&gt;
              &lt;class name="name.test1"/&gt;
              &lt;class name="name.test2"/&gt;
              &lt;class name="name.test3"/&gt;
          &lt;/classes&gt;
      &lt;/test&gt;
  &lt;/suite&gt;
  </code></pre>
  
  <p>Problem is that after running TestNG.xml if the 1st test will fail, it will stop test execution. But i want to continue executing of all test cases.</p>
  
  <p>I use Jenkins on my project and if one of the tests are failed it stops execution immediately. </p>
  
  <p>Example of test </p>
  
  <pre><code>public class LoginTestTest {
      public AndroidDriver&lt;AndroidElement&gt; driver;
      public AOWebClient aoWebClient;
  
      AOWebClient aoWeb;
      public LoginTestTest(AndroidDriver&lt;AndroidElement&gt; driver, AOWebClient aoWeb){
          this.driver = driver;
          this.aoWeb = aoWeb;
          PageFactory.initElements(new AppiumFieldDecorator(driver), this);
      }
  
      public LoginTestTest() {
      }
  
      SoftAssert softAssert = new SoftAssert();
  
      @BeforeClass
      public void setUp() throws Exception {
  
          driver = DesiredCapabilitiesSetup.startAppiumServer();
          aoWebClient = DesiredCapabilitiesSetup.getAOWeb();
  
          LogIn logIn = new LogIn(driver,aoWebClient);
          logIn.logIn();
      }
  
      @org.testng.annotations.Test
      public void goToSettings() throws InterruptedException {
          HeaderMenu header = new HeaderMenu(driver,aoWeb);
          HamburgerMenuList ham = new HamburgerMenuList(driver);
  
          header.clickHamburgerButton();
          header.clickHamburgerButton();
  
          header.editButtonClick();
  
  
          softAssert.assertAll();
      }   
  
      @AfterClass
      public void tearDown(ITestResult result) throws Exception {
              if (result.getStatus() == ITestResult.FAILURE) {
                  TakeScreenshot screenshot = new TakeScreenshot();
                  screenshot.TakeScreenshot("screenshots/");
              }
          LogOut logOut = new LogOut(driver,aoWeb);
          logOut.logOut();
      }
  }
  </code></pre>
  
  <p>If my test will fail in <code>@Test</code> it will never continue to <code>@AfterClass</code> method.
  And I want that if <code>@Test</code> fail it will continue to <code>@AfterClass</code> method and After This Class continue executes test from other classes from <code>testng.xml</code>. </p>