Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ Microsoft AZ-900
Photoshop Graphic Design Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Mindfulness Personal Development Personal Transformation Meditation Life Purpose Coaching Neuroscience
Web Development JavaScript React CSS Angular PHP WordPress Node.Js Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Analysis Data Modeling Big Data
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee

This course includes:

  • 5.5 hours on-demand video
  • 39 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
Development Software Testing JUnit

Automation Testing Using Junit

Learn how to automate unit test cases using Junit framework for any Application Program Interface written in Java
Rating: 3.9 out of 53.9 (109 ratings)
1,262 students
Created by Rahul Singh Rathore
Last updated 6/2015
English
English [Auto]
30-Day Money-Back Guarantee

What you'll 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

Course content

11 sections • 31 lectures • 5h 30m total length

  • Preview00:34
  • Environment Setup
    04:01
  • Running the first Test
    03:43

  • Junit Core Class
    10:18
  • Junit Assert Class
    13:05
  • Junit Result Class
    07:44
  • Preview07:08
  • Junit Description Class
    04:13
  • Junit RunListener Class
    13:22

  • Ignore, TimeOut & Expected Exception
    10:07

  • Jenkins Setup
    10:03

  • Before & After
    09:22

  • Database Connectivity
    32:14

  • CSV Connectivity
    23:20

  • Ant Setting Up the Enviroment
    02:05
  • Preview10:56
  • Ant-Creating Target
    11:43
  • Ant-Running the Junit
    15:35
  • Batch Execution of TestCase
    04:36
  • Ant with Jenkins
    03:32
  • Preview05:02

  • Eclipse - SettingUp
    12:32
  • Running the TestCase
    03:23
  • Preview04:25
  • Junit Parameterized Test
    13:46
  • Test Suite Class
    11:03

  • Preview20:50
  • Writing the Junit for Application
    23:40
  • Creating Junit Test Case Suite
    28:38
  • Object Mocking using Mockito
    08:37

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 this course is for:

  • 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.

Instructor

Rahul Singh Rathore
Software Developer Engg in Test
Rahul Singh Rathore
  • 4.3 Instructor Rating
  • 2,735 Reviews
  • 17,006 Students
  • 10 Courses

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 RC & its migration to Web driver.


I have also worked on the testing of Restful web services. I have exposure to the Apache HttpClient library as well as to RestSharp & RestAssured.

   

For the past 2 years, I am working as a white box tester (SDET) in a US-based MNC.


I usually take on testing the API written in Java, Junit framework for doing the unit testing and also automating the unit test cases     

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.