xpinjection/test-driven-spring-boot
xpinjection/test-driven-spring-boot has 112 GitHub stars and 83 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-14 01:07 UTC. Last push 2026-11-02.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
Sample project for "Test-driven Spring Boot applications" training.
웹 및 앱README.md
OriginalLibrary application
Sample Spring Boot cloud-native application written in TDD style.
Local run
The easiest way to run application locally is to use LocalLibraryApplication class. It will run all needed dependencies in the Docker containers and configure application to use them automatically.
Configuration
To enable Actuator endpoints admin profile has to be activated with proper secrets provided via system properties or other suitable external configuration option:
-Dspring.security.user.name=admin -Dspring.security.user.password=xpinjection -Dspring.profiles.active=dev,admin
Consumer-driven contracts
Pact is used to describe and manage REST API contracts.
Sample instance of the Pact Broker in Docker could be started with /pact/docker-compose.yaml. It starts the Pact Broker and the PostgreSQL database as dependency. Data is not stored on volumes, so will be cleaned after restart.
Pact integration could be enabled during tests execution with pactbroker.enabled system property.
Use system variable pact.verifier.publishResults to control pact verification results publishing to the Pact Broker. Pact Broker configuration is located in pom.xml and could be overridden with system properties as well.
System properties pact.provider.version and pact.provider.branch should be used to pass correct version of the application and git branch for tracking in the Pact Broker.
Skipping Testcontainers based tests
Tests that rely on Testcontainers can be disabled by setting system property testcontainers.enabled to false:
./mvnw verify -Dtestcontainers.enabled=false
관련 프로젝트 살펴보기
freeCodeCamp/freeCodeCamp
freeCodeCamp.org의 오픈 소스 코드베이스와 커리큘럼입니다. 수학, 프로그래밍, 컴퓨터 과학을 무료로 배울 수 있습니다.
459,115 스타donnemartin/system-design-primer
대규모 시스템 설계 방법을 배우고 시스템 설계 면접을 준비할 수 있습니다. Anki 플래시카드가 포함되어 있습니다.
377,839 스타react/react
웹과 네이티브 사용자 인터페이스를 위한 라이브러리.
252,596 스타vuejs/vue
Vue 2 저장소입니다. Vue 3은 https://github.com/vuejs/core를 방문하세요.
212,524 스타