Created
April 17, 2019 15:45
-
-
Save krmahadevan/e77780a51ad5534d1f9c15a2466bc762 to your computer and use it in GitHub Desktop.
Code snippet for https://stackoverflow.com/a/55719931/679824
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rationaleemotions.stackoverflow.qn55692848; | |
import org.testng.annotations.Test; | |
public class CreateUser { | |
@Test(priority = 1) | |
public void one() {} | |
@Test(priority = 2) | |
public void two() {} | |
@Test(priority = 3) | |
public void three() {} | |
@Test(priority = 4) | |
public void four() {} | |
@Test(priority = 5) | |
public void five() {} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
... TestNG 7.0.0-beta5 by Cédric Beust ([email protected]) | |
... | |
Executing com.rationaleemotions.stackoverflow.qn55692848.CreateUser.one on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.CreateUser.two on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.CreateUser.three on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.CreateUser.four on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.CreateUser.five on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Login.one on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Login.two on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Login.three on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Login.five on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Login.four on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.LostPassword.one on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.LostPassword.two on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.LostPassword.three on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.LostPassword.four on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.LostPassword.five on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Forms.one on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Forms.two on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Forms.three on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Forms.four on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Forms.five on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.OperatorDashboard.one on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.OperatorDashboard.two on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.OperatorDashboard.four on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.OperatorDashboard.five on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.OperatorDashboard.three on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Reports.one on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Reports.two on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Reports.three on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Reports.four on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.Reports.five on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.SubmitterDashboard.one on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.SubmitterDashboard.two on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.SubmitterDashboard.three on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.SubmitterDashboard.four on thread [1] | |
Executing com.rationaleemotions.stackoverflow.qn55692848.SubmitterDashboard.five on thread [1] | |
PASSED: one | |
PASSED: two | |
PASSED: three | |
PASSED: four | |
PASSED: five | |
PASSED: one | |
PASSED: two | |
PASSED: three | |
PASSED: four | |
PASSED: five | |
PASSED: one | |
PASSED: two | |
PASSED: three | |
PASSED: four | |
PASSED: five | |
PASSED: one | |
PASSED: two | |
PASSED: three | |
PASSED: four | |
PASSED: five | |
PASSED: one | |
PASSED: two | |
PASSED: three | |
PASSED: four | |
PASSED: five | |
PASSED: one | |
PASSED: two | |
PASSED: three | |
PASSED: four | |
PASSED: five | |
PASSED: one | |
PASSED: two | |
PASSED: three | |
PASSED: four | |
PASSED: five | |
=============================================== | |
xx | |
Tests run: 35, Failures: 0, Skips: 0 | |
=============================================== | |
=============================================== | |
xx-TestSuite | |
Total tests run: 35, Passes: 35, Failures: 0, Skips: 0 | |
=============================================== | |
Process finished with exit code 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rationaleemotions.stackoverflow.qn55692848; | |
import org.testng.annotations.Test; | |
public class Forms { | |
@Test(priority = 1) | |
public void one() {} | |
@Test(priority = 2) | |
public void two() {} | |
@Test(priority = 3) | |
public void three() {} | |
@Test(priority = 4) | |
public void four() {} | |
@Test(priority = 5) | |
public void five() {} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rationaleemotions.stackoverflow.qn55692848; | |
import org.testng.annotations.Test; | |
public class Login { | |
@Test(priority = 1) | |
public void one() {} | |
@Test(priority = 2) | |
public void two() {} | |
@Test(priority = 3) | |
public void three() {} | |
@Test(priority = 4) | |
public void four() {} | |
@Test(priority = 5) | |
public void five() {} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rationaleemotions.stackoverflow.qn55692848; | |
import org.testng.annotations.Test; | |
public class LostPassword { | |
@Test(priority = 1) | |
public void one() {} | |
@Test(priority = 2) | |
public void two() {} | |
@Test(priority = 3) | |
public void three() {} | |
@Test(priority = 4) | |
public void four() {} | |
@Test(priority = 5) | |
public void five() {} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rationaleemotions.stackoverflow.qn55692848; | |
import org.testng.annotations.Test; | |
public class OperatorDashboard { | |
@Test(priority = 1) | |
public void one() {} | |
@Test(priority = 2) | |
public void two() {} | |
@Test(priority = 3) | |
public void three() {} | |
@Test(priority = 4) | |
public void four() {} | |
@Test(priority = 5) | |
public void five() {} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rationaleemotions.stackoverflow.qn55692848; | |
import org.testng.annotations.Test; | |
public class Reports { | |
@Test(priority = 1) | |
public void one() {} | |
@Test(priority = 2) | |
public void two() {} | |
@Test(priority = 3) | |
public void three() {} | |
@Test(priority = 4) | |
public void four() {} | |
@Test(priority = 5) | |
public void five() {} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rationaleemotions.stackoverflow.qn55692848; | |
import org.testng.annotations.Test; | |
public class SubmitterDashboard { | |
@Test(priority = 1) | |
public void one() {} | |
@Test(priority = 2) | |
public void two() {} | |
@Test(priority = 3) | |
public void three() {} | |
@Test(priority = 4) | |
public void four() {} | |
@Test(priority = 5) | |
public void five() {} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | |
<suite name="xx-TestSuite" parallel="false" preserve-order="true" verbose="2"> | |
<listeners> | |
<listener | |
class-name="com.rationaleemotions.stackoverflow.qn55692848.TrackingListener"/> | |
</listeners> | |
<test name="xx"> | |
<classes> | |
<class name="com.rationaleemotions.stackoverflow.qn55692848.CreateUser"/> | |
<class name="com.rationaleemotions.stackoverflow.qn55692848.Login"/> | |
<class name="com.rationaleemotions.stackoverflow.qn55692848.LostPassword"/> | |
<class name="com.rationaleemotions.stackoverflow.qn55692848.Forms"/> | |
<class name="com.rationaleemotions.stackoverflow.qn55692848.OperatorDashboard"/> | |
<class name="com.rationaleemotions.stackoverflow.qn55692848.Reports"/> | |
<class name="com.rationaleemotions.stackoverflow.qn55692848.SubmitterDashboard"/> | |
</classes> | |
</test> | |
</suite> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment