Dependency Injection Without a Framework
Dependency injection in Java: constructor injection by hand, why DI matters, the Service Locator anti-pattern, and a brief intro to Spring, Guice, and OSGi.
Dependency injection in Java: constructor injection by hand, why DI matters, the Service Locator anti-pattern, and a brief intro to Spring, Guice, and OSGi.
Testing in AEM usually combines unit tests for backend logic, integration tests for content and services, and UI tests for authoring behavior.
Write your first Java tests -- JUnit 5 setup, assertions, test structure, parameterized tests, and testing the Task Manager and REST API.
Unit testing services and controllers, integration testing API endpoints, and end-to-end testing strategies for Strapi 5.
Strapi testing: setting up a test instance, unit testing services, integration testing controllers and APIs, mocking the Document Service, and CI/CD integration.
Java testing guide: JUnit 5, Mockito mocking, AssertJ fluent assertions, parameterised tests, test patterns, and what to mock vs what not to mock.