Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Practical Java Unit Testing with JUnit 5 and JUnit 6

Kiểm thử đơn vị Java thực tế với JUnit 5 và JUnit 6

Kiểm thử đơn vị Java thực tế với JUnit 5 và JUnit 6

Học kiểm thử đơn vị Java thực tế với JUnit 5/6 trong 1 giờ. Bao gồm bản quyền IntelliJ IDEA, bài tập thực hành và bảng tóm tắt.

4.5
(8,272 đánh giá)
30,744 học viên
Giảng viên
Adrian Wiech
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
10.000đ 469.000đ -98%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
1.5 giờ video
32 bài giảng
1 bài quiz
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 17/03/2026

Bạn sẽ học được gì

Viết các bài kiểm thử đơn vị tuyệt vời với JUnit 5
Tạo các kịch bản kiểm thử thực tế, ứng dụng được ngay
Tuân theo các phương pháp kiểm thử đơn vị tốt nhất
Chạy unit test trong Eclipse (hoặc IntelliJ IDEA)
Học Kiểm thử hướng phát triển (TDD) cơ bản

Yêu cầu

Bạn háo hức muốn học kiểm thử đơn vị! :)
Bạn có một chút kinh nghiệm với Java
Bạn đã cài sẵn Eclipse IDE miễn phí (hoặc IntelliJ IDEA)

Đối tượng phù hợp

Bạn biết Java cơ bản và muốn học kiểm thử đơn vị từ con số 0
Bạn muốn chuẩn bị cho công việc Java đầu tiên
Bạn muốn nâng cao chất lượng code của mình
Bạn muốn ôn lại kiến thức nếu đã biết JUnit 4

Nội dung khóa học

5 phần • 32 bài giảng
1 Giới thiệu
2 Lý thuyết về kiểm thử đơn vị
3 Chuẩn bị cho khóa học
4 Chọn Eclipse hoặc IntelliJ IDEA (bao gồm bản quyền miễn phí)
1 JUnit 6 đã ra mắt!
2 Bài kiểm thử đơn vị đầu tiên
3 Bài kiểm thử đơn vị đầu tiên trong IntelliJ IDEA
4 Các phương pháp hay nhất
5 Kiểm thử ngoại lệ
6 Kiểm thử với nhiều khẳng định (assertion)
7 Kiểm thử giá trị null
8 Kiểm thử sự bằng nhau của mảng
9 @BeforeEach và @AfterEach
10 @BeforeAll và @AfterAll
1 Kiểm thử tham số hóa – ValueSource
2 Kiểm thử tham số hóa – CsvSource
3 Kiểm thử tham số hóa – CsvFileSource
4 Kiểm thử lặp lại
5 Kiểm thử hiệu suất
6 Các giả định (Assumptions)
7 Package chính xác cho các giả định
8 Tổ chức code với @Nested
9 Các annotation khác
10 Tổng kết
11 Bảng tóm tắt JUnit 5 và Mã nguồn
12 Bước tiếp theo là gì?
13 Bài giảng bổ sung
14 LinkedIn: Khoe kỹ năng mới của bạn!
1 JUnit 5/6 so với JUnit 4
2 Kiểm thử hướng phát triển (TDD)
1 Viết unit test cho RealEstateApp
2 Viết unit test cho RealEstateApp - lời giải

Giới thiệu khóa học

Note: All students of this course receive a 6-month license for IntelliJ IDEA Ultimate — the industry-leading Java IDE trusted by professionals worldwide.


Hello! My name's Adrian and I'm a professional Java Developer. You've just found the highest rated course about JUnit on Udemy! Here are some examples chosen from the hundreds of reviews :

• "superb and very compact, the course got me started in just two hours"
• "excellent, well-explained, with real-word examples"
• "perfect for beginners! I feel like: oh, it's so easy!"

According to statistics, nearly 80% of all Java developers write unit tests with JUnit, and my developing practice proves it. Unit testing is so important because it increases the quality of your code. It is a basic skill required by most employees, so for any Java Developer professional career, you have to master JUnit. You'll only learn the practical aspects of unit testing with JUnit 5 – the latest version of the most popular Java unit testing framework.

I’ll introduce only the essential theory behind unit testing, and then dive straight into the code to get you started as quickly as possible. I’ll use an example of a simple, yet practical Java project to show you a variety of unit test types. You'll also learn the best practices and coding standards for unit tests based on my developing experience. You can get started in just a few hours. This course also comes with additional exercises and a one-page cheat sheet for a quick JUnit 5/6 reference.


COURSE ADVANTAGES

• concise – my short video lectures focused on the most important info help you save time and learn maximally effectively

• based on practice – instead of useless academic theory, you learn the best developing practices drawn from my work experience

• reasonably priced – compared to stationary developer bootcamps, the course is much cheaper, so you save not only time but also money

• available anywhere, anytime – the online form lets you run the course in the most convenient place (at home, work or in a café) and time (while commuting by metro or relaxing at home after work), so you can adjust it to your agenda

• accessible on desktop, mobile and TV – you can display my lectures on the device of your choice, so you don’t have to stick to your PC

• certificate of completion – after completing the course, you will receive a printable certificate that will make your resume more attractive


Intro video music courtesy of Bensound

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Java Development
Hiển thị tất cả khoá học Junit
Hiển thị tất cả khoá học Test Automation
Hiển thị tất cả khoá học Unit Testing
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊