spring-projects / spring-projects/spring-boot
Spring bootRun daemon option
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 81.5k
- Forks
- 42.7k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 65
Description
On one of our projects, we have the need for integration tests to be run with rspec. This means we have to bootRun in a separate terminal / process, run the tests, then go back and stop the bootRun. It would be hugely beneficial to have a daemon option that stops once the gradle script is completed; this way we could bootRun with daemon, run tests, finish (spinning down the bootRun'd server) all in one gradle task.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Gradle bootRun task and its lifecycle handling; review how the Gradle script currently starts and stops the server. Use the described RSpec integration-test workflow as the acceptance case: one Gradle task should launch bootRun in daemon mode, run tests, and stop the server when the build finishes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100