-
Notifications
You must be signed in to change notification settings - Fork 5
feat: Created Crud App with MongoDB for testing Keploy #4
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
base: main
Are you sure you want to change the base?
Conversation
|
Hey @Pranav5255, Thank you for raising the pr. Our team will review the change before that please make sure to sign the DCO |
Achanandhi-M
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Pranav5255 can you please record some test cases using keploy and add as part of this sample quickstart? also please add readme file how to use this sample app
Hey @Achanandhi-M I have added the snapshots of the necessary test cases in the readme and have also updated the doc to match the latest syntax. Please look into it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Pranav5255 , could you please add a README file with instructions on how to run the application, as well as how to record and replay using Keploy? That would really help others get started easily. Also please sign the DCO
Signed-off-by: Pranav5255 <pranavmetil@gmail.com>
Signed-off-by: Pranav Metil <76805382+Pranav5255@users.noreply.github.com> Signed-off-by: Pranav5255 <pranavmetil@gmail.com>
Signed-off-by: Pranav5255 <pranavmetil@gmail.com>
Signed-off-by: Pranav5255 <pranavmetil@gmail.com>
Hey @Achanandhi-M can you check this again, i have signed the dco to all the commits and updated the readme as well. |
kapishupadhyay22
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @Pranav5255
Please remove the /assests and /img directories as they are not needed in the sample application, instead can you please add a small demonstration video in the comment of this PR for showing the whole flow of record and test mode.
Signed-off-by: Pranav5255 <pranavmetil@gmail.com>
Signed-off-by: Pranav5255 <pranavmetil@gmail.com>
Signed-off-by: Pranav5255 <pranavmetil@gmail.com>
|
I think the app files got deleted while rebasing the commits and adding the signoffs. I have updated that and the documentation. Here's the video recording as well @Achanandhi-M @kapishupadhyay22 @pratik-mahalle Final-Keploy.1.mp4 |
|
Hi @Pranav5255 |
@kapishupadhyay22 I need to keep that dir as the images in the readme are present in that directory. |
Signed-off-by: Pranav5255 <pranavmetil@gmail.com>
feat(samples): Add .NET 8 & MongoDB CRUD Sample Application
Overview
This PR introduces a new sample application built with .NET 8 and MongoDB to demonstrate Keploy's capabilities with a widely-used enterprise technology stack.
Fixes #[issue-number]
Why this should be worked on
We currently don't have a sample for .NET + MongoDB, and adding one will help us reach and support more developers in the .NET ecosystem. This sample will serve as a practical, real-world example for users who want to see how Keploy can be used to generate tests and mocks for a .NET Web API interacting with a NoSQL database.
What this PR does
This PR adds a complete, self-contained CRUD API application with the following features:
appsettings.jsonfor MongoDB connection detailsKeploy Integration
Once the application is running, users can leverage Keploy to record test cases and generate data mocks seamlessly:
Testing
The sample has been tested with:
All CRUD operations work correctly, and test cases are successfully recorded and replayed by Keploy.
Signed-off-by: Pranav Metil 76805382+Pranav5255@users.noreply.github.com