- Business
- Esoteric
- Fitness & Gym
- Health
- Hypnosis
- Management
- Marketing & Selling
- Massage – SPA
- Parenting
- PUA Seduction
- Science
- Self Improvement
- Art
- Investing
- Painting & Sculpting
- Tai Chi & Martial Arts
- Qigong
- Taoism
- Design & Graphics
- Medicine
- Exams
- Spirituality & Religion
- Hobbies & Fixing & Woodworking
- Photography & Film Making
- Networking & Lan
- Forex & Trading
- IQ & Memory
- Vision & Eye Care
- Swimming & Scuba diving & Water Sports
- Security & Hacking
- Travel
- Cooking
- Driving & Flighting
- Languages
- Computers & Programming
- Building & Home Improvement
- Music
- Astronomy
- History
- Mathematics
- Philosophy
- Literature & Writing
- Economics & Finance
- Sewing
- Hunting
- Electronics
- Psychology & Psychiatry
ISTQB Certified Tester Foundation Level v4.0 (2025) Course
$20.00 Original price was: $20.00.$5.00Current price is: $5.00.
Learn AI: Build Apps, Automate Tasks, And Deploy Projects
$20.00 Original price was: $20.00.$5.00Current price is: $5.00.
JUnit 5 from Basics to Advanced
$20.00 Original price was: $20.00.$5.00Current price is: $5.00.
SKU:
34915
Category: Java
Description
Published 9/2025
Created by Shrayansh Jain
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Level: All | Genre: eLearning | Language: English | Duration: 6 Lectures ( 2h 36m ) | Size: 1.63 GB
Unit Testing in Java
What you’ll learn
Unit Testing
JUnit5
Mockito
Java Testing Framework
Requirements
Java
Description
Unit testing roadmap
Topics already covered
– Available Frameworks
– Junit
– TestNG etc.
– What is a unit test?
– Difference between unit vs integration vs functional tests
– AAA (Arrange-Act-Assert)
– Maven/Gradle dependencies
– Test Lifecycle
– Basic Annotations
• @Test
• @BeforeEach, @AfterEach
• @BeforeAll, @AfterAll
• @DisplayName
• @Disable
etc.
– Assertions
• assertEquals, assertNotEquals
• assertTrue, assertFalse
• assertNull, assertNotNull
• assertThrows for exception testing
– Extensions
– Test Repetition
• @RepeatedTest(n)
Upcoming
– Parameterized Tests
Mocking
– Available Frameworks
– Mockito
– EasyMock
– JMock
– Mockito Core Concepts
• @Mock and Mockito.mock(Class.class)
• @InjectMocks for injecting mocks
• @BeforeEach with MockitoAnnotations.openMocks(this)
• Testing Private/Static Methods (PowerMock or some other approach)
– Stubbing Behavior
• when(…).thenReturn(…)
• when(…).thenThrow(…)
– Verifying Calls
• verify(…) after method call
• verifyNoMoreInteractions(…)
– Void Method Stubbing
• doNothing().when(mock).method()
• doThrow(…).when(…)
– Argument Matchers
• any(), eq(), anyString(), anyInt(), etc.
• Mixing matchers with exact values (and why it fails)
– Behavior Verification
– Verify how many times called: times(n), never(), atLeastOnce()
– Spies vs Mocks
â—‹ Mockito.spy() for partial mocking
â—‹ Difference between mock() and spy()
– Testing Configuration, Properties, and Profiles
– Unit tests with different Spring profiles.
– How to mock @Value, Environment, or @ConfigurationProperties.
– Overriding properties for test-only behavior.
Assertions & Matchers
– Frameworks
– AssertJ
– Hamcrest
Some Advanced Topics
– Test-Driven Development (TDD)
– Write failing test first, then code
– Test Coverage
• Tools: JaCoCo, IntelliJ coverage tool
– CI integration
– Run tests in GitHub Actions, GitLab CI/CD, Jenkins.
– Test Reports
– Generate HTML/XML test reports for build tools.
AI + Unit Testing
– Code Suggestion Tools (AI-Powered IDE Extensions)
– Using AI in CI/CD (Future-Forward)
– AI suggests missing test cases for changed methods
– AI flags flaky or redundant tests
– Autogenerate Missing Tests
Who this course is for
Java Backend Developers
Homepage
https://anonymz.com/?https://www.udemy.com/course/junit5-basics-to-advanced/
Shipping & Delivery
DIGITAL DELIVERY ONLY
This is digital product THE DOWNLOAD LINK SEND 12-24 HOURS AFTER UPON PURSUASE AND PAYMENT CLEARS"
- The digital files are uploaded on PCLOUD
- 12-24 hours delivery time
- the download links expire after 7 days and need to download them
- to renew the download link after expiration have one additional fee $5 per product
REQUESTS
Also we accept requests  and course exchanges
In Course exchanges we are sending credits only
The credits will be the same price as we can sell course
"REFUNDS & RETURNS"
No Refunds on digital product
ONLY EXCHANGE
- Because of the abuse of the refunds from many customers i don't accept refunds
- We accept only 1 time exchange with product of the same price
- if you done mistake on the exchangeable product i don't recognize it as your mistake
- Exchanges only 3 days after the payment of your digital product. (if abused again i will do it 1 day)
Related products
EC-Council – Introduction to Oop Programming in Java EE
$5.00
Karate DSL: API Automation and Performance from Zero to Hero
$5.00
Java Programming Essentials
$10.00
Packt – Groovy Programming Fundamentals for Java Developers
$10.00
Java Concurrency Specialist Course
$5.00
