Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
JUNIT5 introduction
Rating: 4.2 out of 5(59 ratings)
1,231 students

JUNIT5 introduction

Learn to test your code from various perspectives
Created byGeorge Covrig
Last updated 11/2022
English

What you'll learn

  • Learn ho to test the code
  • Learn how to design your project
  • Learn looking into corner caases
  • Learn JUNIT5

Course content

1 section5 lectures34m total length
  • JUNIT presentation6:59
  • JUNIT presentation part 27:17
  • JUNIT presentation part 37:24

    Explore testing practices for large apps, ensure dependency safety, and validate compute average with single and null arrays using assert equals and before each setup and static initialization.

  • JUNIT presentation part 47:41

    Explore handling null and empty inputs in JUnit 5 tests, using assert equals, assertThrows, and custom exceptions like null argument provided, to ensure reliable test outcomes.

  • JUNIT presentation part 55:27

Requirements

  • Java basics

Description

This is a short course that will help you understand better what is JUNIT and ho to test your application in a way that you can find bugs.

If you like this presentation, you can find more written tutorials on my website, or you can buy the other course about testing a java app. If you really want one of my courses and you don't have the material possibility to buy it, you can send me a message and I will give you a free pass.

You will learn about :

  • JUNIT concepts - we first write the code for our app, then we identify what is missing to be proud of our code and at the end of this chapter we implement some tests that will cover all our functionality.

  • how to use POSTMAN to write automated tests and also build your own mock server. POSTMAN is used, most of the times, just for making requests to our app, but in reality it has a lot of functionality that can make your life easier

  • Mockito - we will talk about stubs/spies/mocks. We first write some tests that will use stub/mock/spy for the simple java app and after that we learn what changes in our approach. You will need this information to know exactly when to use what.

  • Wiremock - you will learn how to an app that uses a rest api client


The entire project can be downloaded at the end of the course.

Who this course is for:

  • middle java developers
  • beginner java developers