Automation Testing Using Junit
3.9 (70 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,010 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Automation Testing Using Junit to your Wishlist.

Add to Wishlist

Automation Testing Using Junit

Learn how to automate unit test cases using Junit framework for any Application Program Interface written in Java
3.9 (70 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,010 students enrolled
Last updated 6/2015
English
Curiosity Sale
Current price: $10 Original price: $20 Discount: 50% off
30-Day Money-Back Guarantee
Includes:
  • 5.5 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • 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
View Curriculum
Requirements
  • All you need is just the basic knowledge Java
Description

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

Who is the target audience?
  • This tutorial has been prepared for the beginners to help them understand basic functionality of JUnit tool. After completing this tutorial you will find yourself at a moderate level of expertise in using JUnit testing framework from where you can take yourself to next levels.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
31 Lectures
05:30:37
+
Introduction
3 Lectures 08:18

Environment Setup
04:01

Running the first Test
03:43
+
Junit Classes
6 Lectures 55:50
Junit Core Class
10:18

Junit Assert Class
13:05

Junit Result Class
07:44


Junit Description Class
04:13

Junit RunListener Class
13:22
+
Junit Annotations
1 Lecture 10:07
Ignore, TimeOut & Expected Exception
10:07
+
Jenkins
1 Lecture 10:03
Jenkins Setup
10:03
+
Junit Annotations Conti.
1 Lecture 09:22
Before & After
09:22
+
Database Connectivity
1 Lecture 32:14
Database Connectivity
32:14
+
Reading the Data from CSV Files
1 Lecture 23:20
CSV Connectivity
23:20
+
Running Junit with Ant
7 Lectures 53:29
Ant Setting Up the Enviroment
02:05


Ant-Creating Target
11:43

Ant-Running the Junit
15:35

Batch Execution of TestCase
04:36

Ant with Jenkins
03:32

+
Junit with Eclipse
5 Lectures 45:09
Eclipse - SettingUp
12:32

Running the TestCase
03:23


Junit Parameterized Test
13:46

Test Suite Class
11:03
+
Testing Java Application
4 Lectures 01:21:45

Writing the Junit for Application
23:40

Creating Junit Test Case Suite
28:38

Object Mocking using Mockito
08:37
1 More Section
About the Instructor
Rahul Singh Rathore
4.4 Average rating
560 Reviews
4,415 Students
6 Courses
Software Developer Engg in Test

I have total 6 year of experience in the field of testing (Manual & Automation). Being a manual tester my major area of work is Integration, Functional & Regression testing. When it comes with automation, I deal with automation tool such as Junit, Testng, Selenium RC & Web driver. I have worked with team for developing automation framework for web based product using Selenium RC & migrating it to Web driver at later stage.

I have also worked on the testing of Restful web services. And have pretty good experience with Apache HttpClient Library.

from past 2 year, I am working as white box tester (SDET) in one of the MNC. I usually deal with testing the API written in Java. I also deal with Junit framework for doing the unit testing and also automating the unit test cases