Top "Testng" questions

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

TestNG An internal error occurred during launching

I created a TestNG class (FirstTest.java) and when I run the test case as TestNG Test, I am getting …

java eclipse selenium-webdriver testng testng-eclipse
TestNG by default disables loading DTD from unsecure Urls

I'm using testng maven and selenium to run my tests, currently I have the following testng.xml file Looks like …

java xml selenium testng
How to execute JUnit and TestNG tests in same project using maven-surefire-plugin?

Right now I have both type of tests but when I say "mvn test" it only executes TestNG tests and …

unit-testing maven-2 testng junit4 maven-surefire-plugin
Maven is automatically skipping tests

How come that Maven is skipping all of my tests by default?I have a pom.xml with few profiles …

maven testing testng jboss-arquillian
Custom test method name in TestNG reports

I am working on a project where I need to invoke TestNG programatically(using data providers). Things are fine except …

java testng
TestNG dependsOnMethods from different class

The dependsOnMethods attribute of the @Test annotation works fine when the test to be depended upon is in the same …

java testing junit automated-tests testng
Java unit testing: how to measure memory footprint for method call

Assuming I have a class that does some heavy processing, operating with several collections. What I want to do is …

java unit-testing junit out-of-memory testng
TestNG parallel Execution with DataProvider

I have a single test which receives data from data provider. I would like this test to run in parallel …

java multithreading testng dataprovider
assertEquals, what is actual and what is expected?

I always wondered what exactly is the meaning of actual and expected in assertEquals in libraries like TestNG. If we …

java unit-testing testing testng junit4
org.testng.TestNGException: while trying to execute the tests

I have been working on a project using Android Studio since long. Today refactored some code and it started to …

java android-studio testng intellij-15