Course

Java Integration Testing

Master Java integration testing with Spring Boot, Testcontainers, and WebTestClient for robust application testing

of video
1.7 h
lectures
23
sections
5

$99.97one payment

Lifetime access. 15-day money-back guarantee.

Want a mentor as well? The Academy gives you every course on Amigoscode plus code reviews, daily live calls and interview prep, for $129/month. Compare →

“Amigoscode does a pretty darned good job, and consistently too, covering Spring, and for that I'm very appreciative.”
Josh Long · Spring Developer Advocate

What you'll learn

By the end of this course

  • Integration Testing Fundamentals - Master the core concepts, benefits, and best practices of integration testing in Java applications with real-world examples.
  • Spring Boot Testing Setup - Learn environment setup and configure @SpringBootTest annotations for comprehensive application testing.
  • Testcontainers Mastery - Set up and manage containerized databases for realistic testing environments that mirror production.
  • WebTestClient for API Testing - Build end-to-end REST API tests covering all CRUD operations (Create, Read, Update, Delete) with proper validation.
  • Build Tools Optimization - Configure Maven with Surefire plugin, implement container reuse strategies, and optimize test execution for CI/CD pipelines.
  • Test Environment Management - Master dirty context strategies and container lifecycle management for efficient and reliable testing workflows.
  • Complete Product API Testing - Implement comprehensive integration tests for a real product management system with published/unpublished states.
  • Production-Ready Testing Patterns - Apply industry best practices and testing patterns used by professional Java development teams.

Curriculum

5 sections, 23 lectures

1.7 h of video. Open any section to see its lectures.

1Intro1 min
  1. 1Related Courses
  2. 2Slides
2Getting started29 min
  1. 1Intro To Integration Testing8 min
  2. 2Environment Setup4 min
  3. 3What We Are Going To Test3 min
  4. 4@SpringBootTest7 min
  5. 5Testcontainers7 min
3Build tools18 min
  1. 1Re Use Containers Settings3 min
  2. 2Dirty Context6 min
  3. 3Surefire Plugin4 min
  4. 4Maven Failsafe Plugin5 min
4Web test client51 min
  1. 1Webtestclient5 min
  2. 2Include isPublished In DTO5 min
  3. 3Your First Propert Integration Test5 min
  4. 4Create Product Test6 min
  5. 5Create Product IT (Part 1)6 min
  6. 6Create Product IT (Part 2)6 min
  7. 7Exercise1 min
  8. 8Get Product By Id5 min
  9. 9Delete Product It7 min
  10. 10Update It6 min
5Outro2 min
  1. 1Outro2 min
  2. 2Feedback

Choose how you learn

Learn on your own, or with people who check your work

The course is yours to keep. The Academy is this course and every other one, plus the people who get you hired.

Java Integration Testing

The course, on your own

$99.97one payment

  • 23 lectures, 1.7 h of video
  • Source code for everything you build
  • Subtitles on every video
  • 6 months of IntelliJ IDEA Ultimate
  • Lifetime access to the course and its updates

15-day money-back guarantee

Recommended

The Academy

The courses, plus the people

$129/monthcancel anytime

This course, plus

  • Every course on Amigoscode 50+ in the Zero to Hired Roadmap
  • Daily live calls and 1:1 instructor time
  • Code reviews and pair programming on what you build
  • Interview prep mock interviews, System Design Lab, CV and LinkedIn review
  • Land an interview in 90 days or we coach you 1:1 free until you do.
Join the Academy

7-day money-back guarantee · Secure checkout on Skool

“Nelson was teaching 90% of my job. I was already implementing everything I learnt from it.”
MBMarlon BragaJava Full Stack Software Developer
“I was a totally different person. More confident as a developer, more prepared for my job.”
GabrielaSoftware Engineer at Mercado Livre
“I studied biomedicine and psychology. I found Nelson's Java tutorials while looking for a course for my brother. I was hooked and now here I am, a software engineer at IKEA.”
NajmaSoftware Engineer at IKEA

Read every review →

About this course

Who is this course for?

Level: Mid and Senior Engineers.

How long will it take?

There are about 2 hours of video. Most people finish in a week at 5 hours a week, plus the time you spend building along.

Do I keep access?

Yes. You pay once and keep the course for life, including updates.

What if it isn't for me?

Email us within 15 days of buying and we'll refund you in full.

Should I buy the course or join the Academy?

Buy the course if you only want this topic and you learn well on your own. Join the Academy if you want to get hired or move up: you get every course on Amigoscode, this one included, plus daily live calls, code reviews and interview prep, for $129/month. The course is $99.97 once.