Skip to content

Spring Boot application to learn tests with JUnit 5 and Mockito

Notifications You must be signed in to change notification settings

paulovieirajr/spring-api-with-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot with JUnit5 and Mockito

GitHub Workflow Status GitHub code size in bytes GitHub last commit

Purpose

This is an application where I've learnt some initial concepts about tests using JUnit 5 and Mockito.

How did I do ?

I've created a simple POJO called User and your respectives controller, service and repository.

Then I worked with some scenarios to test the application using both JUnit 5 and Mockito.

Conclusion

As this was my first contact with JUnit5 and Mockito, it was a good learning. As a developer, I know tests are over important. Learning those kind of tools, helps us to write better programs.

About

Spring Boot application to learn tests with JUnit 5 and Mockito

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages