Skip to content
UdemySoftware TestingPaid courseBeginner levelCertificate

Learn by Example: JUnit (Udemy.com)

A comprehensive guide to JUnit with 25 solved examples

Created by: Loony Corn

Last updated December 2016

icon
What you will learn

  • Test functionality of Java applications using JUnit
  • Write test cases using Assertions and Matchers
  • Create mock objects to test interdependent classes
  • Run multiple test classes under different conditions

How it compares

Against the other 281 rated Udemy courses in Software Testing on CourseDuck:

  • Rating4.0 out of 5higher than 5% of them
  • Reviews145#236 of 282 by number of reviews
  • Length2.8 hoursshorter than 79% of them
  • Last updatedDecember 2016earlier than 95% of them

icon
Course Description

JUnit is one of a family of unit testing frameworks all built with the same philosophy. To abstract the programmer away from the mechanics of running tests. You concentrate on testing the functionality of the application, and the logistics of running, monitoring and displaying results is taken care of by the framework.

In this course, we’ll be writing simple tests using all the different features of JUnit tests. Using 25 solved examples, you'll get a complete overview of the JUnit framework and all the functionality within.

What's covered?

1) Assertions : the fundamental component of any Junit test
2) Matchers : Write complicated tests in a very readable way. Implement your own custom matchers
3) Assumptions : Check for preconditions and external dependencies

4) Fixtures : Setup and Cleanup for your tests

5) Runners : Understand what goes on under the hood in JUnit. Use different runners to run multiple test classes with different conditions and parameters
4) Mockito : Understand the concept of mock objects and use the Mockito framework to run tests on interdependent classes.

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Loony Corn

Loonycorn is us, Janani Ravi and Vitthal Srinivasan. Between us, we have studied at Stanford, been admitted to IIM Ahmedabad and have spent years  working in tech, in the Bay Area, New York, Singapore and Bangalore.

Janani: 7 years at Google (New York, Singapore); Studied at Stanford; also worked at Flipkart and Microsoft

Vitthal: Also Google (Singapore) and studied at Stanford; Flipkart, Credit Suisse and INSEAD too

We think we might have hit upon a neat way of teaching complicated tech courses in a funny, practical, engaging way, which is why we are so excited to be here on Udemy!

We hope you will try our offerings, and think you'll like them :-)

icon
More courses by Loony Corn

$94.99

$59.99

$14.99

$79.99

$54.99

$13.99

icon
More Software Testing courses

$59.99

$84.99

$10.99

$10.99

$13.99

$149.99

icon
Reviews

4.0

145 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Anonymized User on 8/14/2018

it was an amazing match for me, in terms of I enjoy coding and cant wait to go forward and learn more.

By Vimal yannick on 5/24/2018

the subtitles are most of the time wrong due to the speaker accent. The rest is great

By Lorenzo Vinci on 4/11/2018

That sound in background of each lesson should really be removed. All the other coursed I followed on this Udemy platform do not have it. Why this should?

By Shambo Ghosh on 3/10/2018

It is good for beginners. Need to content related to strategy about how to implement it for legacy projects , need to add content about integration tests , tests having DB dependency

By Kush Shah on 2/23/2018

Good course to understand basics of JUnit. If you are looking for in-depth JUnit learning with real-world examples this might not be very useful as the whole course is around 2 examples.

By Priscilla Versteegh on 2/19/2018

Het is fijn om alle elementen van een test uitgelegd te krijgen en dat het stap voor stap gaat.

By Mario Fortes Hernández on 1/17/2018

The content of the course is quite good to have a better notion on what the JUnit framework is and the utilities it can offer. The instructor explains the topics through examples and is easy to follow although her accent is strong and the automatic generated subtitles won't help in any way. What I have not liked is the background music, it was annoying but somehow bearable except for lessons 9 and 26, where the voice and the music are almost at the same level and it made really hard for me not only to get what she was saying but to concentrate as well. If I were you I'd remove it completely, but maybe it's just me. Overall satisfied with the course.

By Charles Knell on 7/26/2017

Examples 9 and 25: music is way to loud. Example 7 is not detailed enough to create a new custom matcher. Example 22 the Timeout class used is deprecated.

By Khan Sami on 7/26/2017

Helped me tremendously to learn JUnit along with their Sleenium course. It's a plus if you also learn Ant and Maven so that you can integrate in your Selenium framework projects.

By Karen Reid on 4/11/2017

Pretty good. The music is distracting sometimes, especially in the unit on Fixtures. Just turn it off.

Showing all 10 reviews on CourseDuck

Read all 145 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 80 / 100