spring-projects / spring-projects/spring-data-mongodb
Fail the build when Mongo not running and tests are active
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Mongo is required to be running for Spring Data Mongo DB tests to pass. It would be beneficial to fail the build when skip tests is NOT turned on. In other words if someone is skipping the tests then we don't care if Mongo is running or not.
Additional note: Mongo must be running without a custom username and password, otherwise the tests will fail due to connection being unauthorized
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 build configuration and Spring Data MongoDB test setup that control whether tests are skipped and how MongoDB is connected. Make an active-test build fail when MongoDB is unavailable while leaving skipped-test builds unaffected, and verify the behavior with the project’s test build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mongodb
- Domain
- build-system, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100