Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Begin with Junit testing with Spring boot and Mockito
Rating: 4.1 out of 5(12 ratings)
906 students

Begin with Junit testing with Spring boot and Mockito

Junit testing with Spring boot and microservices
Created bySrini Dasari
Last updated 9/2024
English

What you'll learn

  • Students or Learner will be able to write JUNIT test cases independently.
  • Students can explore more into Junit test cases with spring boot and they will become more expertise into Junit testing.
  • Students will learn to write unit tests using MOCKS and SPYS created with MOCKITO
  • Students will learn to Use the important Unit Testing with ANNOTATIONS - SpringBootTest, DataJpaTest and MockBean,WebMvcTest

Course content

2 sections13 lectures1h 33m total length
  • Introduction1-Junit-Testing with spring boot and Mockito-Overview3:49
  • Introduction2-Master Java Unit Testing with Spring Boot and Mockito7:57

Requirements

  • The prerequisites are Minimum java knowledge and Spring boot knowledge.

Description

JUnit is a unit testing framework for 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 explains the use of JUnit in your project unit testing, while working with Java. After completing this tutorial you will gain sufficient knowledge in using JUnit testing framework from where you can take yourself to next levels.

Most of the successful projects are running based on successful junit test cases. Do you want to write Junit test cases for your project then this is the right place to learn about junit testing with spring boot and mockito. In this course you will be familiar about Junit test cases and Mockito, you can also write controller based unit tests and service based unit test and many more live examples.

Students will learn to write  JUNIT test cases very effectively.

Students will learn to Write INDEPENDENT JUnit Tests for RESTFUL web services talking with MULTIPLE LAYERS - web controller, business and data.

Students will learn and explore to use the most important Unit Testing ANNOTATIONS -

   Test, SpringBootTest, WebMvcTest, DataJpaTest and MockBean, InjectMocks, Mock

Students will learn to write unit tests using MOCKS and SPYS created with MOCKITO.

Students will learn to write unit test with H2 database with JPA  and will explore about integration.

Students will be explore to work with Eclipse IDE, Spring boot framework, Mockito framework and maven technologies.


Who this course is for:

  • This course mostly useful for junit based developers and spring boot with microservices developers