Dive into the world of modern Java application development with this comprehensive course on testing and building REST APIs using Spring Boot. Learn to master JUnit and Mockito to create robust, reliable, and maintainable unit tests. Gain practical insights into setting up and optimizing build tools like Maven and Gradle, and discover how these tools enhance project management and dependency handling.
Testing and Advanced REST with Spring Boot
This course is part of Learn Spring Boot in 100 Steps - Beginner to Expert Specialization
Instructor: Packt - Course Instructors
Included with
Recommended experience
What you'll learn
Write robust unit and integration tests with JUnit and Mockito for Java applications.
Set up and optimize Maven and Gradle for efficient Spring Boot project management.
Develop REST APIs using Spring Boot, adhering to best practices for reliability and scalability.
Implement advanced testing techniques with Mock MVC and configure Spring Security for APIs.
Skills you'll gain
Details to know
Add to your LinkedIn profile
January 2025
6 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
There are 5 modules in this course
In this module, we will introduce you to JUnit, a widely used testing framework for Java applications. You'll learn step-by-step how to create and run your first JUnit project, write your first unit test, and explore essential annotations and assert methods to enhance your testing process.
What's included
5 videos2 readings1 assignment
In this module, we will dive into Mockito, a powerful mocking framework for Java. You’ll set up a Spring Boot project, learn how to address challenges with stubs, and write your first Mockito tests using annotations like @Mock and @InjectMocks. By the end, you'll have a solid understanding of how Mockito simplifies unit testing.
What's included
6 videos1 assignment
In this module, we will delve into Maven, a critical tool for Java developers. You'll learn to create and manage Spring Boot projects with Maven, explore the POM file structure, and understand the build lifecycle. By the end, you'll be equipped to use Maven effectively in your projects.
What's included
9 videos1 assignment
In this module, we will introduce Gradle, a modern build tool gaining popularity among Java developers. You'll learn to create Spring Boot projects, configure Gradle build and settings files, and explore Gradle plugins. We’ll also compare Maven and Gradle to help you make informed decisions.
What's included
5 videos1 assignment
In this module, we will take a deep dive into Spring Boot development, focusing on building a comprehensive REST API for a survey questionnaire. You'll create and manage resources, implement CRUD operations, and explore advanced topics like Spring Boot Data JPA, integration testing, and securing your API with Spring Security.
What's included
29 videos1 reading2 assignments
Instructor
Offered by
Recommended if you're interested in Software Development
Coursera Project Network
Coursera Project Network
Why people choose Coursera for their career
New to Software Development? Start here.
Open new doors with Coursera Plus
Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy
Frequently asked questions
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.