forked from telekom/testerra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1cfc0cc
commit e95ebf2
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
46 changes: 46 additions & 0 deletions
46
integration-tests/src/test/java/io/testerra/test/pretest_testng/TestNGFeatureTest.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package io.testerra.test.pretest_testng; | ||
|
||
import eu.tsystems.mms.tic.testframework.testing.TesterraTest; | ||
import org.testng.Assert; | ||
import org.testng.annotations.AfterMethod; | ||
import org.testng.annotations.BeforeMethod; | ||
import org.testng.annotations.Test; | ||
|
||
/** | ||
* Created on 2024-08-30 | ||
* | ||
* @author mgn | ||
*/ | ||
public class TestNGFeatureTest extends TesterraTest { | ||
|
||
@BeforeMethod | ||
public void before_method() { | ||
|
||
} | ||
|
||
@BeforeMethod | ||
public void beofre_method_failed() { | ||
Assert.fail(); | ||
} | ||
|
||
@Test | ||
public void T01_testng_passed_test() { | ||
|
||
} | ||
|
||
@Test(dependsOnMethods = "T01_testng_passed_test") | ||
public void T02_testng_depends_method() { | ||
|
||
} | ||
|
||
@Test | ||
public void T03_testng_failed_test() { | ||
Assert.fail(); | ||
} | ||
|
||
@AfterMethod | ||
public void after_method() { | ||
|
||
} | ||
|
||
} |