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-13 03:33 UTC. Last push 2026-11-02.
So werden diese Zahlen gemessen
Sample project for "Test-driven Spring Boot applications" training.
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
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
Ähnliche Projekte entdecken
freeCodeCamp/freeCodeCamp
Die Open-Source-Codebasis und das Curriculum von freeCodeCamp.org. Lerne Mathematik, Programmierung und Informatik kostenlos.
459,069 Sternedonnemartin/system-design-primer
Lerne, Systeme im großen Maßstab zu entwerfen, und bereite dich auf das Systemdesign-Interview vor. Enthält Anki-Karteikarten.
377,741 Sternereact/react
Die Bibliothek für Web- und native Benutzeroberflächen.
252,567 Sternevuejs/vue
Dies ist das Repository für Vue 2. Das Repository für Vue 3 findest du unter https://github.com/vuejs/core
212,527 Sterne