https://github.com/comru/override-spring-properties
Demo application for "Override default Spring-Boot application.properties settings in Junit Test" topic
https://github.com/comru/override-spring-properties
Last synced: 9 months ago
JSON representation
Demo application for "Override default Spring-Boot application.properties settings in Junit Test" topic
- Host: GitHub
- URL: https://github.com/comru/override-spring-properties
- Owner: comru
- Created: 2024-07-15T08:49:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-15T08:54:20.000Z (almost 2 years ago)
- Last Synced: 2024-07-15T10:42:09.934Z (almost 2 years ago)
- Language: Java
- Size: 44.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Override default Spring-Boot application.properties settings in Junit Test
Topic: https://stackoverflow.com/questions/29669393/override-default-spring-boot-application-properties-settings-in-junit-test
#### Hot to run
Run tests from `src/test/java`.
To run the `ConfigDirTest` test, rename the file `src/test/resources/config/_application.properties` to `src/test/resources/config/application.properties`.