-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App sample spring-boot-redis application #82
base: main
Are you sure you want to change the base?
Conversation
@Sonichigo I opened this PR a while back, is this still in review ? |
Will review by EOD. |
@slashexx Please run test mode, so that the Reports will also be added in the codebase along with tests and mocks. |
@charankamarapu sure, I'm on it. I'm actually trying to run it on my system but there seems to be some issue with sending requests to the localhost, can you help me a lil to debug this ?
I've only quoted one test case but it's showing this for all test cases. How do I make sure the request is sent to the correct localhost ? PS: Turns out the reports earlier were automatically put in .gitignore so they couldn't be pushed. I have shifted to a new version of the code so I'll generate the tests and mocks again. |
can you provide the command you are running for test..? along with that can you tell me what os are you using..? |
The one I ran was I tried to change the host and ran
Also, I'm on arch linux. |
you don't need to add --host flag. |
Sure, I just attempted with it once. I keep getting this otherwise when I don't put any flags (other than the delay one, ofc):- |
This might be a DNS problem in your laptop try connecting to other wifi and try restarting laptop and try again. |
Okay it seems this was the issue. It's fixed now, thank you very much ! Just be clear now, I'm supposed to push the reports folder as well right ? Because the .gitignore file automatically excluded it.
|
Signed-off-by: slashexx <[email protected]>
No you can just add the screenshot of the tests getting passed in the cli |
@charankamarapu gentle ping, can you review if this is good to go ? |
Pull Request Template
Description
This pull request introduces a sample Spring Boot application that utilizes Redis for managing products. The application includes a
ProductController
for handling CRUD operations and aProduct
model representing the product entity. Additionally, Keploy has been used to generate and run test cases, ensuring the reliability of the implemented functionalities.Feat : #2333
Type of change
How Has This Been Tested?
I have generated test cases using Keploy, which cover all the CRUD operations defined in the
ProductController
. The tests were executed successfully, and the application ran without any errors. To reproduce the tests, run the following command in the project directory:mvn test
Make sure you have the required dependencies and Redis service running.
Additional Context (Please include any Screenshots/gifs if relevant)
The application can be accessed via the
/products
endpoint for creating, retrieving, updating, and deleting products.Checklist:
Test passing :-