Automation Testing Using Junit

Master JUnit for automating unit tests in Java applications. Learn integration with CI tools, data-driven testing, and batch executions in this comprehensive course.

  • Overview
  • Curriculum
  • Instructor
  • Review

Brief Summary

This course is all about mastering JUnit for automating unit tests in Java. You’ll dive into setting things up, executing tests, and linking with tools like Ant and Jenkins. Super practical and essential for making your coding life easier!

Key Points

  • Learn to automate unit tests with JUnit for Java APIs
  • Understand JUnit framework basics and important classes
  • Get hands-on with data-driven testing using databases and CSV files
  • Explore Ant build tool for executing JUnit tests
  • Integrate JUnit with Jenkins for continuous integration

Learning Outcomes

  • Confidently write unit tests using the JUnit framework
  • Execute and manage test cases efficiently with Ant
  • Integrate JUnit testing into your CI/CD pipeline with Jenkins
  • Read test data dynamically from databases or CSV files
  • Utilize Eclipse plugins for smooth JUnit execution

About This Course

Learn how to automate unit test cases using Junit framework for any Application Program Interface written in Java

JUnit is a unit testing framework for the Java programming language. JUnit has been important in the development of test-driven development, and is one of a family of unit testing frameworks collectively known as xUnit that originated with JUnit.

This tutorial will teach you how to use JUnit in your day-2-day life of any project unit testing while working with Java programming language.

The Video includes from setting up the environment till integration with CI tools

In this training course, attendees will learn the following

1. Working with Junit framework classes such as JUnitCore, Result, Failure class etc.

2. How to use Assertion.

3. How the execution of code take place in Junit.

4. Reading the test data from Database & CSV Files (Data Driven Testing)

5. How to do batch execution of testcases.

Basic of Ant build Tool

1. What is build.xml.

2. What is a target, different type of target present in Ant.

3. How to write target for Junit.

4. Integration execution of Junit using Ant tool.

Continuous Integration Tool Jenkins

1. Configuring the Jenkins.

2. Execution of Junit from Jenkins.

3. Integration of Ant with Jenkins.

Eclipse Plugin

1. Run the Junit using eclipse plugin

2. @Runwith & @SuiteClasses Annotation

And source code shown as part of video lecture will be provided for download

  • By the end of this course you will be able to write Junits for any Api and will be able to integrate with Ant, Hudson & Jenkins

Instructor

Profile photo of Rahul Singh Rathore
Rahul Singh Rathore

I am an IT professional with 8 yrs of automation and testing experience. My core area of work is Integration, Functional & Regression testing. When it comes to automation, I have experience with tools such as Junit, TestNG, Selenium RC, Web driver & Katalon Studio.  I have contributed to the development of an automation framework for web-based products using Selenium...

Review
4.9 course rating
4K ratings
ui-avatar of Mukhia Vidya Kiran
Mukhia V. K.
5.0
5 years ago

This is a good course that gives good insights into Junit. And the best part is that he explains it via all of cmd, jenkins, ant, eclipse. The concepts covered in this course are also good.

  • Helpful
  • Not helpful
ui-avatar of Priya Manoj
Priya M.
3.0
5 years ago

The course content is really good. But for a manual tester with java knowledge some application can be shown to execute some test cases with Junit. In that way, it would be more better to understand..

  • Helpful
  • Not helpful
ui-avatar of Revital Itzhak
Revital I.
5.0
6 years ago

The lectures are detailed, with nice examples.

  • Helpful
  • Not helpful
ui-avatar of Anu aravind
Anu A.
5.0
7 years ago

good explanation

  • Helpful
  • Not helpful
ui-avatar of PaoloSammut Sammut
Paolosammut S.
4.0
8 years ago

Quite good.

  • Helpful
  • Not helpful
ui-avatar of Rashaad Wells
Rashaad W.
5.0
8 years ago

This is a very good course. The instructor is very clear about all of his actions in the video. The material is presented in a well thought out and logical manner.

  • Helpful
  • Not helpful
ui-avatar of Eduardo Garcia
Eduardo G.
3.0
8 years ago

Boa qualidade, mas está desatualizado.

  • Helpful
  • Not helpful
ui-avatar of Kate Slezavina
Kate S.
5.0
8 years ago

good explanation

  • Helpful
  • Not helpful
ui-avatar of Patrick Taiwo
Patrick T.
5.0
8 years ago

The presentation appears to assume a certain level of proficiency in Java, does not gradually take you along and provide examples to work through so you follow better. A little advanced for any java newbie, the latter sessions turned it up a notch so a little tough to follow.

  • Helpful
  • Not helpful
ui-avatar of Navreet12
Navreet12
5.0
8 years ago

it is easy to understand , with examples and covers altmost everything about Mockito.

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses