Useful Links
Computer Science
Programming
By Language
Java Programming
1. Introduction to Java
2. Core Language Fundamentals
3. Object-Oriented Programming (OOP) in Java
4. Exception Handling
5. Java Collections Framework
6. Generics
7. Input/Output (I/O)
8. Concurrency and Multithreading
9. Modern Java Features (Java 8 and beyond)
10. Java Virtual Machine (JVM) Internals
11. Build Tools and Dependency Management
12. Testing in Java
13. Database Connectivity (JDBC)
Testing in Java
Introduction to Software Testing
Importance of Testing
Types of Testing
Unit Testing
Integration Testing
System Testing
Acceptance Testing
JUnit
Setting Up JUnit
Writing and Running Tests
Test Methods
Test Suites
Assertions
assertEquals
assertTrue and assertFalse
assertNull and assertNotNull
assertThrows
Annotations
@Test
@BeforeEach
@AfterEach
@BeforeAll
@AfterAll
@DisplayName
@Disabled
Test Lifecycle
Parameterized Tests
Mocking
Introduction to Mocking
Using Mockito
Creating Mocks
Stubbing Methods
Verifying Interactions
Argument Matchers
Test-Driven Development (TDD)
TDD Principles
Red-Green-Refactor Cycle
Previous
11. Build Tools and Dependency Management
Go to top
Next
13. Database Connectivity (JDBC)