Top "Testng" questions

TestNG is a testing framework focused on providing both unit and functional testing abilities in the Java programming language.

TestNG: Eclipse confused by JUnit

I'm setting up tests with TestNG in an Eclipse project, but I get a strange error: When I try to …

java eclipse junit testng codepro
Remove (duplicate) failed TestNG result via test listener

Similar to the solution posted here TestNG retrying failed tests doesn't output the correct test results, I'm trying to remove …

java maven testng maven-failsafe-plugin
TestNG: Running multiple suites with preserved order using <suite-files> tag

I am trying to run multiple suites from one overall suite file. I define the suites I need to run …

testng suite
DBUnit not cleaning and insert the database after every method, so test are not independent

I have a test for a DAO class, I use DBUnit to create and populate the database (using an in-memory …

java tdd testng dbunit
how to run my selenium test methods in parallel using testng

I am trying to run my automated tests(Selenium webdriver) in parallel using testng. this is the node which I …

java selenium testng selenium-grid parallel-testing
Using Selenium, TestNG and ReportNG with Gradle

Has anybody here successfully configured reportng with gradle 1.0-milestone-9? I downloaded a Selenium 2, TestNG sample developed with Gradle (from https://…

testng gradle reportng
An internal error occurred during launching testng in eclipse

I have created the simple test class and getting error while executing it "An internal error occurred during: "Launching test". …

java eclipse testng testng-eclipse
Method depends on nonexistent group - Testng

I'm trying to create two tests where one is dependent on the execution of the other one. The project I'm …

java xml testing testng legacy
Email-ext Jenkins: How to send email with Tests statistics like Run: 10, Failed:2, Passed: 8

I use Maven+TestNG auto-tests run by Jenkins. I know that the is a token for failed tests like ${FAILED_…

maven jenkins testng email-ext
@BeforeMethod and inheritance - order of execution (TestNG)

My question is basically the same as this SOF question, but deals with @BeforeMethod instead of @BeforeClass for TestNG. Does …

java testng