java - Execute tests sequentially using Arquillian TestRunner TestNG -


i can use arquillian testrunner junit container write sequential tests.

import org.jboss.arquillian.junit.insequence; import org.jboss.arquillian.junit.arquillian;  @runwith(arquillian.class) public class classtotest{      @test     @insequence(1)     public void test1() {     // test (1)     }      @test     @insequence(2)     public void test2() {     // test (2)     } } 

it possible same thing using arquillian testrunner testng container? if how can that.

yes. can sequencing of test methods dependency chaining in testng.

it below

@test public void test1() { // test (1) }  @test(dependsonmethods = { "test1" }) public void test2() { // test (2) } 

please refer below more info

http://www.tutorialspoint.com/testng/testng_dependency_test.htm


Comments

  1. Hello Admin,

    Know your cure. Check accessibility. Satisfy courses of action A lot of misdirecting exists among the patients who are enduring and are not set up to take the correct choice with respect to the medication that suits their thriving and pocket.

    Regards,
    Thanks

    RITU

    ReplyDelete

Post a Comment

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -