feat: add spring-notes sample app integrated with Keploy #115
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds a new Java Spring Boot sample app (spring-notes) demonstrating how to integrate Keploy for test generation. The app includes simple in-memory CRUD endpoints and includes setup instructions to run Keploy via Docker on Windows.
Fixes #115
Type of change
New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Ran mvn spring-boot:run to start the server locally.
Tested APIs using curl and Postman:
POST /notes to add notes
GET /notes to retrieve all
GET /notes/{id} to fetch by ID
Keploy was run using Docker (due to OS constraints on Windows):
docker run --rm --name keploy
-v ${PWD}:/app
-p 16789:16789
-e KEPLOY_MODE=record
-e KEPLOY_APP_NAME=spring-notes
-e KEPLOY_COMMAND="mvn spring-boot:run"
ghcr.io/keploy/keploy
My code follows the style guidelines of this project
I have performed a self-review of my own code
I have commented my code, particularly in hard-to-understand areas
I have made corresponding changes to the documentation
My changes generate no new warnings
I have added tests that prove my fix is effective or that my feature works (via Keploy)
New and existing unit tests pass locally with my changes
Any dependent changes have been merged and published in downstream modules
I have checked my code and corrected any misspellings
I have tagged the reviewers in a comment below incase my pull request is ready for a review
I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that I wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.
@Pratham0320 this PR is ready for review.