Basics of JUnit Framework

Let's start the journey through the old and still best Java Unit Testing Framework
4.0 (17 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.
133 students enrolled
Instructed by Khaja Mohammed IT & Software / Other
$19
$20
5% off
Take This Course
  • Lectures 41
  • Length 5.5 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 10/2015 English

Course Description

First of all Congratulations for taking this course! Don't be surprised with the title of the course as it is well beyond what a test engineer uses in a day to day professional life. The course is not complete, i mean it will never be complete as i plan to add additional stuff every now and then to keep you abreast with the changes happening in and around the JUnit and what projects are being developed on top of the JUnit Framework. Never shy away from constructive criticism as that is what will help as food for this course and help make this course more robust. So, with no further delay lets start the journey, am as excited as you are with this course.

What are the requirements?

  • You are expected to be having basic knowledge about Java programming language.
  • Basic knowledge/ understanding of Eclipse or similar IDE to be able to work with JUnit
  • Knowledge of earlier versions will help you speed up learning the latest version of JUnit, but said that its absolutely optional

What am I going to get from this course?

  • Currently with 40+ videos, still have many more videos coming through which are under development.
  • You will be able to get quite confident in JUnit (which also indirectly makes you an intermediate in TestNG) framework.
  • Understand the more advanced JUnit concepts like Rules and Theories
  • You should be able to create your own rules, which is a huge advantage of a person knowing just the basics of JUnit
  • You should be able to integrate with Mocking frameworks like Mockito, Power Mock etc.,

What is the target audience?

  • Still in college days? Then you can get ahead of the competition with this course
  • Though the course was developed from a tester's perspective it can be consumed by the developer's as well
  • Anyone trying to get their feet wet with JUnit or related Frameworks

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: JUnit Introduction
Introduction to JUnit and Features
Preview
02:41
Section 2: Setting up JUnit
Setting up JUnit on Eclipse IDE
06:59
Setting up JUnit on IntelliJ IDEA IDE
04:44
Configure with JUnit Standalone Jar File
02:40
Configure JUnit with Maven POM.xml
02:40
Creating custom dependency for JUnit to add to POM.xml
Preview
08:40
Section 3: JUnit Basic Annotations
JUnit Test Annotation
13:40
JUnit Before & After
11:46
JUnit BeforeClass & AfterClass
06:24
JUnit Ignore Annotation
02:46
Section 4: JUnit Assert Classes
Static import vs Non-Static import of Assert Class
Preview
07:39
Introduction to Assert Class
06:39
Introduction to Hamcrest
13:07
JUnit and Hamcrest Matchers
03:42
Creating Custom Matchers
17:51
Section 5: JUnit Advanced Annotations
Running JUnit Suite in Eclipse IDE
04:55
Running JUnit Suite from Command Prompt Window
Preview
18:18
JUnit Categories
16:25
JUnit Parameterized Tests with constructor
06:58
JUnit Parameterized Tests without constructor
04:12
JUnit Parameterized Identify Individual Test Cases
05:27
JUnit Parameterized Test in a Test Class
05:41
JUnit FixMethodOrder
05:34
Section 6: JUnit Rules
Intro to JUnit Rules
02:07
TemporaryFolder JUnit Rule
15:10
ErrorCollector JUnit Rule
10:32
ExternalResource JUnit Rule
04:48
Verifier JUnit Rule
15:17
TestWatcher JUnit Rule
19:14
TestName JUnit Rule
04:39
Timeout JUnit Rule
04:10
ExpectedException JUnit Rule
04:53
ClassRule Annotated Rules
06:49
RuleChain JUnit Rule
06:58
Creating Custom Rules Part 1
Preview
12:23
Creating Custom Rules Part 2
09:43
Section 7: JUnit Theories
JUnit Theories Introduction
10:14
JUnit Theories With Multiple Datapoints Part 1
Preview
10:24
JUnit Theories With Multiple Datapoints Part 2
04:33
Section 8: JUnit Mocking with Mockito
JUnit Mockito Introduction
02:10
JUnit Mockito Example
09:46

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Khaja Mohammed, Software Developer Engineer in Testing

Working as a Senior Software Developer Engineer in Testing for the past 9 years. Have been part of projects that uses mainly Java, JavaScript, Selenium WebDriver, Selenium Grid, Protractor (for Angular JS Applications), QTP/ UFT, DeviceAnyWhere, Perfecto Mobile (add-in with QTP), JUnit, TestNG, GitHub, SVN, Ant, Maven, Gradle etc., But fortunately that is not all and never limited to a set of Programming tools or Languages. Of late have started completely opposite side of all this i.e., Wordpress Plugins creation and Android and iOS apps creation. Well, with all this i hardly get a bit of time for other activities, but that doesn't stop me in helping my students both at work and outside to get all their questions answered in as short span of time as possible.

Ready to start learning?
Take This Course