# hamvocke/spring-testing

A Spring Boot application with lots of test examples

Repository: https://github.com/hamvocke/spring-testing
Canonical: https://ross.abutalabs.com/products/spring-testing
Homepage: https://www.martinfowler.com/articles/practical-test-pyramid.html
Language: Java
License Family: other
Topics: spring-boot, testing, test-automation, spring, test-microservices, microservices, test-pyramid, spring-test, tdd
Last push: 2025-10-09T15:10:50+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 46, release rhythm 35, longevity 100
- inputs: {"age_days": 3400, "days_push": 328, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1236, forks 467 (observed 2026-08-28T04:04:05.016274+00:00)

## What it is
A Spring Boot sample application demonstrating test automation across all levels of the test pyramid, from unit tests to end-to-end tests. It accompanies the 'Practical Test Pyramid' article on martinfowler.com and serves as a hands-on learning resource for testing Spring applications.

## Use cases
- learn how to test a spring boot application
- see examples of unit, integration, and e2e tests
- understand the test pyramid in practice
- learn tdd and test automation patterns for java
- find examples of contract testing and mocking in spring
- study how to structure a reliable test suite for microservices

## When to choose
- you want practical, runnable examples of Spring Boot testing at every pyramid level
- you're learning test automation concepts alongside the Practical Test Pyramid article
- you need reference patterns for unit, integration, contract, and end-to-end tests in Java

## When to avoid
- you need a production-ready testing library or framework to add as a dependency
- you're not working in the Java/Spring ecosystem
- you need a maintained, licensed project for production use - it has no license and is a teaching example

## Facets
- artifact type: learning-resource
- maturity: active
- function: testing, e2e-testing, mocking
- domain: testing, developer-tools, tutorials
- platform: jvm
- tags: spring-boot, test-pyramid, tdd, example-code, sample-application, docker

## Member repositories
- hamvocke/spring-testing (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:05.016274+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:21:58.828472+00:00, confidence not recorded.
  - readme: https://github.com/hamvocke/spring-testing (fetched 2026-08-28T04:04:05.016274+00:00, sha b8e20ef54d9f)
  - homepage: https://www.martinfowler.com/articles/practical-test-pyramid.html (fetched 2026-08-29T12:21:17.069905+00:00, sha 1cf4ff9b7b82)
  - site_page: https://www.martinfowler.com/aboutMe.html (fetched 2026-08-29T12:21:17.075773+00:00, sha 233d5eee5d24)
  - site_page: https://www.martinfowler.com/faq.html (fetched 2026-08-29T12:21:17.078099+00:00, sha 30912d6ec129)
  - site_page: https://www.martinfowler.com/articles/mocksArentStubs.html (fetched 2026-08-29T12:21:17.080580+00:00, sha 3d24d72552e9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
