EDUCBA Logo

EDUCBA

MENUMENU
  • Explore
    • EDUCBA Pro
    • PRO Bundles
    • All Courses
    • All Specializations
  • Blog
  • Enterprise
  • Free Courses
  • All Courses
  • All Specializations
  • Log in
  • Sign Up
Home Courses 00 IT & CS Engineering Java TestNG
Home Courses 00 IT & CS Engineering Java TestNG

Java TestNG

BESTSELLER
4.7 (89235 ratings)

* One-Time Payment & Get One-Year Access

Offer ends in:

What you'll get

  • 2h 36m
  • 15 Videos
  • Course Level - Intermediate| English[Auto-generated]
  • Course Completion Certificates
  • One-Year Access
  • Mobile App Access

Curriculum:

    TestNG is a testing framework developed in the lines of JUnit and NUnit. TestNG is designed to cover all categories of tests: unit, functional, end-to-end, integration, etc., and it requires JDK 5 or higher. This course provides a good understanding on TestNG framework needed to test an enterprise level application to deliver it with robustness and reliability.

    TestNG is a testing framework inspired with some new functionalities that make it more powerful and easier to use, such as:

    Annotations.
    Run your tests in arbitrarily big thread pools with various policies available (all methods in their own thread, one thread per test class, etc...).
    Test that your code is multithread safe.
    Flexible test configuration.
    Support for data-driven testing (with @DataProvider).
    Support for parameters.
    Powerful execution model (no more TestSuite).
    Supported by a variety of tools and plug-ins (Eclipse, IDEA, Maven, etc...).
    Embeds BeanShell for further flexibility.
    Default JDK functions for runtime and logging (no dependencies).
    Dependent methods for application server testing.
    TestNG is distributed as a single JAR file, which must be available in the classpath in order to execute tests. It integrates very well with the most popular build tools: Ant, Maven (via Maven Surefire Plugin) and Gradle. TestNG is also supported by all major IDEs (in some cases the installation of additional plugin is required), can be used with different JVM languages (e.g. Java, Groovy, Scala) and cooperates with many quality and testing tools (e.g. code coverage tools, mocking libraries, matchers libraries). Some popular solutions - e.g. Spring Framework - provide means to facilitate testing with TestNG.

    Data Provider

    A data provider in TestNG is a method in a test class, which provides an array of varied actual values to dependent test methods.

    Tool Support

    TestNG is supported, out-of-the-box or via plug-ins, by each of the three major Java IDEs - Eclipse, IntelliJ IDEA, and NetBeans. It also comes with a custom task for Apache Ant and is supported by the Maven build system. The Hudson continuous integration server has built-in support for TestNG and is able to track and chart test results over time. Most Java code coverage tools, such as Cobertura, work seamlessly with TestNG.

    Reporting

    TestNG generates test reports in HTML and XML formats. The XML output can be transformed by the Ant JUnitReport task to generate reports similar to those obtained when using JUnit. Since version 4.6, TestNG also provides a reporter API that permits third-party report generators, such as ReportNG, PDFngreport and TestNG-XSLT, to be used.

    What are the requirements?

    - Ability to relate to a customer centric thinking
    - Intuitive problem solving abilities
    - Data Mining ability
    - A PC with internet

    What am I going to get from this course?

    - Over 16 lectures and 1 hour of content!
    - To study what drives customer behavior at every stage of his lifecycle and henceforth capitalizing on his unique behavior at every time point so as to attract and retain profitable customers as well as make unprofitable customers profitable.
    - We will be tracing the entire campaign management system from its origin to the end as well and will also be showing the interaction with the business at each stage.

    What is the target audience?

    - Students especially ones from the economics , finance and statistics background
    - Professionals especially freshers as well as experienced professionals shifting their domains
    - Consultants

    * One-Time Payment & Get One-Year Access

    Offer ends in:

    Training 5 or more people?

    Get your team access to 5,000+ top courses, learning paths, mock tests anytime, anywhere.

    Drop an email at: [email protected]

    Course Overview

    This online course is to learn about the Automation Testing Using TestNG. For those who are unaware of what TestNG is it is basically a testing framework developed in the lines of JUnit and NUnit. These tutorials are going to explain you practical examples in testNG, various TestNG Tests and conclude with parameter test.

    171
    2 - 6 hours 2h 36m | 15 Videos | 89235 Views | Intermediate  Intermediate| English[Auto-generated]
    trigger text
    hidden content

    TestNG is a testing framework developed in the lines of JUnit and NUnit. TestNG is designed to cover all categories of tests: unit, functional, end-to-end, integration, etc., and it requires JDK 5 or higher. This course provides a good understanding on TestNG framework needed to test an enterprise level application to deliver it with robustness and reliability.

    TestNG is a testing framework inspired with some new functionalities that make it more powerful and easier to use, such as:

    Watch our Demo Courses and Videos

    Valuation, Hadoop, Excel, Mobile Apps, Web Development & many more.

    Annotations.
    Run your tests in arbitrarily big thread pools with various policies available (all methods in their own thread, one thread per test class, etc…).
    Test that your code is multithread safe.
    Flexible test configuration.
    Support for data-driven testing (with @DataProvider).
    Support for parameters.
    Powerful execution model (no more TestSuite).
    Supported by a variety of tools and plug-ins (Eclipse, IDEA, Maven, etc…).
    Embeds BeanShell for further flexibility.
    Default JDK functions for runtime and logging (no dependencies).
    Dependent methods for application server testing.
    TestNG is distributed as a single JAR file, which must be available in the classpath in order to execute tests. It integrates very well with the most popular build tools: Ant, Maven (via Maven Surefire Plugin) and Gradle. TestNG is also supported by all major IDEs (in some cases the installation of additional plugin is required), can be used with different JVM languages (e.g. Java, Groovy, Scala) and cooperates with many quality and testing tools (e.g. code coverage tools, mocking libraries, matchers libraries). Some popular solutions – e.g. Spring Framework – provide means to facilitate testing with TestNG.

    Data Provider

    A data provider in TestNG is a method in a test class, which provides an array of varied actual values to dependent test methods.

    Tool Support

    TestNG is supported, out-of-the-box or via plug-ins, by each of the three major Java IDEs – Eclipse, IntelliJ IDEA, and NetBeans. It also comes with a custom task for Apache Ant and is supported by the Maven build system. The Hudson continuous integration server has built-in support for TestNG and is able to track and chart test results over time. Most Java code coverage tools, such as Cobertura, work seamlessly with TestNG.

    Reporting

    TestNG generates test reports in HTML and XML formats. The XML output can be transformed by the Ant JUnitReport task to generate reports similar to those obtained when using JUnit. Since version 4.6, TestNG also provides a reporter API that permits third-party report generators, such as ReportNG, PDFngreport and TestNG-XSLT, to be used.

    What are the requirements?

    – Ability to relate to a customer centric thinking
    – Intuitive problem solving abilities
    – Data Mining ability
    – A PC with internet

    What am I going to get from this course?

    – Over 16 lectures and 1 hour of content!
    – To study what drives customer behavior at every stage of his lifecycle and henceforth capitalizing on his unique behavior at every time point so as to attract and retain profitable customers as well as make unprofitable customers profitable.
    – We will be tracing the entire campaign management system from its origin to the end as well and will also be showing the interaction with the business at each stage.

    What is the target audience?

    – Students especially ones from the economics , finance and statistics background
    – Professionals especially freshers as well as experienced professionals shifting their domains
    – Consultants

    Back to top ▴

    View Offline

    View courses without internet connection with a Lifetime Membership
    View courses without internet connection with a Lifetime Membership

    View Offline - Internet-free viewing with your iOS or Android App

    Watch offline with your iOS/Android app.

    Start Your Free Trial Now

    You can download courses from your iOS/Android App.

    Footer
    Follow us!
    • EDUCBA FacebookEDUCBA TwitterEDUCBA LinkedINEDUCBA Instagram
    • EDUCBA YoutubeEDUCBA CourseraEDUCBA Udemy
    APPS
    EDUCBA Android AppEDUCBA iOS App
    Company
    • About us
    • Alumni Speak
    • Contact Us
    • Log in
    • Sign up
    Work with us
    • Careers
    • Become an Instructor
    EDUCBA for Enterprise
    • Enterprise Solutions
    • Explore Programs
    • Free Courses
    • Free Tutorials
    • EDUCBA at Coursera
    • EDUCBA at Udemy
    Resources
    • Blog
    • Self-Paced Training
    • Verifiable Certificate
    • Popular Skills Catalogue
    • Exam Prep Catalogue
    Popular Categories
    • Lifetime Membership
    • All in One Bundles
    • Featured Skills
    • New & Trending
    • Fresh Entries
    • Finance
    • Data Science
    • Programming and Dev
    • Excel
    • Marketing
    • HR
    • PDP
    • VFX and Design
    • Project Management
    • Exam Prep
    • Learning Paths @ $49
    • All Courses
    • Terms & Conditions
    • Disclaimer
    • Privacy Policy & Cookie Policy
    • Shipping Policy

    ISO 10004:2018 & ISO 9001:2015 Certified

    © 2025 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

    EDUCBA

    *Please provide your correct email id. Login details for this Free course will be emailed to you
    Let’s Get Started

    By signing up, you agree to our Terms of Use and Privacy Policy.

    EDUCBA Login

    Forgot Password?

    🚀 Limited Time Offer! - 🎁 ENROLL NOW