Add tests for product-service and gateway-service
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- docker, java, mongodb, spring-boot
- Domain
- testing-qa
Research direction
Start in the product-service module, whose pom already declares Testcontainers MongoDB and JUnit Jupiter test dependencies but has no test classes, and use account-service's test classes as the pattern. Add a @WebMvcTest controller test and a Testcontainers-backed component test. For gateway-service, add a basic context-load or routing test. Done when both modules run their tests green with mvn test.
Written by the indexing model from the issue text.
Description
Problem
product-service has Testcontainers (MongoDB, JUnit Jupiter) test dependencies but no test classes. gateway-service has no working tests.
Suggested solution
product-service: add a@WebMvcTestcontroller test and a Testcontainers-based component test, followingaccount-service.gateway-service: add a basic context-load / routing test.
- Dominant language
- Java
- Stars
- 12
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing 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.
More from piomin/sample-spring-cloud-testing
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
question
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
enhancement
Difficulty 3/5 Half a day Newbie friendliness 62/100
-
bug
Difficulty 3/5 Half a day Newbie friendliness 62/100
All issues in piomin/sample-spring-cloud-testing
Similar issues
-
5.0.x backport enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
spring-cloud/spring-cloud-function#1507 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
open-learning-exchange/myplanet#18484 ·
Maintainers usually reply within 1 day
-
ai-driven-fuzzing bug claude Minor
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
linagora/twake-calendar-side-service#1417 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
line/armeria#7109 · 3 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-feature/java-sdk-contrib#1966 ·
Maintainers usually reply within 1 day