Skip to main content

10 docs tagged with "tool"

View all tags

Git Hooks and Workflows

How Git hooks let you automate quality checks at every stage of the commit and push lifecycle — pre-commit linting, commit-msg validation, pre-push tests, and managing hooks across a team with tools like pre-commit.

Integration Tests

How to use @SpringBootTest with TestRestTemplate and WebTestClient to write full-context Spring Boot integration tests.

JUnit 5

The foundational Java testing framework — lifecycle annotations, assertions, parameterized tests, and test organization.

Mockito

How to create mock objects, stub method calls, verify interactions, and capture arguments in Java unit tests.

MockMvc & WebTestClient

How to test Spring MVC and Spring WebFlux controllers at the HTTP level without starting a real server, using MockMvc and WebTestClient.

OpenAPI & Springdoc

Auto-generating interactive API documentation for Spring Boot REST APIs using springdoc-openapi — setup, @Operation/@Schema annotations, security schemes, and customisation.

Spring Boot Actuator

Spring Boot Actuator exposes built-in HTTP/JMX endpoints for health checks, metrics, environment inspection, and live bean graphs — essential for production monitoring and operations.

Spring Boot Test Slices

How to use @WebMvcTest, @DataJpaTest, and @JsonTest to write fast, focused Spring Boot tests that load only the layers you need.

Testcontainers

How to use Testcontainers to run real PostgreSQL, MySQL, Redis, and Kafka instances inside Docker containers during Java tests.