Skip to content
Software Test Academy
  • Home
  • About
  • Blog
  • Test Automation
    • UI Automation
      • Selenium
      • Capybara
      • Sikulix
      • CodedUI
      • WinAppDriver
    • Mobile Automation
      • Appium
      • Espresso
      • Mobile Device Farm
    • API Automation
      • Rest Assured
      • Karate
    • Testing Frameworks
      • JUnit
      • TestNG
    • Automation Reporting
      • Allure Report
      • Extent Reports
      • Klov Reporting
      • Tesults Reporting
    • Cucumber
    • Visual Test Automation
      • Applitools Eyes
      • ImageMagick
      • Galen Framework
      • Ember Percy
      • Visual Testing Tools
    • Robot Framework
    • Selenoid
    • Docker Selenium
    • Node.js Mocha
  • Performance Testing
    • JMeter
    • Gatling
    • Mobile Performance Testing
    • Interview Questions
  • DevOps
    • Kubernetes
    • Jenkins
    • Docker
    • SonarQube
    • Vagrant
    • Octopus Deploy
    • AWS
    • Azure
    • Rancher
    • Packer
  • More
    • Interview Questions
      • Performance Testing Interview Questions
    • Programming Tutorials
      • JAVA
      • JAVA FX
      • Git
      • GitLab
      • GitHub
      • Algorithms
      • WireMock
      • Mockito
      • Logging
      • ESLint
    • Testing Tutorials
    • Agile Tutorials
    • Tools and Technologies
    • Security Testing Tutorials
    • Test Masters
    • Software Conferences

Testing Frameworks

Testing Frameworks

Testing Frameworks category consists of JUnit 4, JUnit 5, TestNG, and related software testing libraries for automation and unit testing. You can find annotations, extensions, listeners, architecture, rules, hamcrest matchers, and many other details for these libraries in this category.

JUnit 5 Parallel Test Execution

December 24, 2022 by Onur Baskirt
junit5

How to run JUnit 5 Tests in Parallel? Yes, in this post, I will explain how to use the JUnit 5 Parallel Test Execution feature. This experimental feature of JUnit 5 will come after JUnit 5.3. To enable parallel execution, … Read more

Categories JUnit Tutorials Tags junit

How to Change a Test Name When Using TestNG DataProvider

December 4, 2018 by Canberk Akduygu
testng

Hello everybody, One of the great features of TestNG is TestNG DataProvider. TestNG DataProvider simply provides a way to run one test with different data with multiplying the test code. General usage is like below: public class DataProviderChangeName{ @DataProvider(name = "role") public … Read more

Categories TestNG Tutorials Tags testng

How to Use TestNG with Gradle

December 4, 2018 by Canberk Akduygu
testng

Hello, I am a huge fan of Maven when it comes to automation project. But i recently joined in a team where Gradle is used companywide. What is Gradle? Gradle is an open-source build automation system that builds upon the concepts … Read more

Categories TestNG Tutorials Tags testng

TestNG Tutorial | TestNG Annotations | TestNG Selenium Reference

December 4, 2018 by Onur Baskirt
testng

TestNG Tutorial – TestNG Selenium – TestNG Annotations – TestNG vs JUnit and TestNG examples. These are the most common search keywords for many testers and in this TestNG tutorial article, I will explain TestNG framework. We can write our tests by … Read more

Categories TestNG Tutorials Tags testng

Retry Failed Test in TestNG with IRetryAnalyzer

January 1, 2022 by Onur Baskirt
testng

In this article, we will learn how to retry failed test in TestNG with IRetryAnalyzer and also how to rerun all tests from scratch in a test class. To retry a failed test, we will use the IRetryAnalyzer interface. It reruns the … Read more

Categories TestNG Tutorials Tags testng

How to Use TestNG Listeners

December 4, 2018 by Onur Baskirt
testng

In this article I will explain and show an example of TestNG Listeners. Actually, TestNG provides many types of listeners but we generally use some of them. Thats why I did not give all type of TetsNG Listeners but you … Read more

Categories TestNG Tutorials Tags testng

JUnit Listeners with All Details and Examples!

January 1, 2022 by Onur Baskirt

In this post, we will learn how to use JUnit Listeners together. If you want to do some operations when your tests are started, passed, finished, failed, or skipped/ignored, you can use Listeners. Both JUnit and TestNG provide us Listeners, … Read more

Categories JUnit Tutorials Tags junit

How to Rerun Failed Tests with JUnit?

January 1, 2022 by Onur Baskirt

Sometimes due to some temporary problems such as connection problems, server problems, browser issues, mobile application crashes and freezes, and so on our tests fail. In these kinds of situations, we may want to rerun our tests automatically. But how? … Read more

Categories JUnit Tutorials Tags junit

JUnit Parameterized Tests – Complete Guide!

January 1, 2022 by Onur Baskirt

Thanks to the JUnit Parameterized Tests feature which helps us to create parameterized tests with ease. The Parameterized test class has to be annotated with the @RunWith(Parameterized.class). The parameterized test class also meets the following requirements: It is annotated with … Read more

Categories JUnit Tutorials Tags junit

JUnit Categories – All Tactics with Examples!

January 1, 2022 by Onur Baskirt

JUnit Categories allow you to group tests together so we can run different categories of the test in different test suites. For example, we can separate slow tests from fast ones. We can include or exclude categories with specified annotations. … Read more

Categories JUnit Tutorials Tags junit
Older posts
Newer posts
← Previous Page1 Page2 Page3 Next →

© 2025 SW TEST ACADEMY • All Rights Reserved

Next Page »