Idea for UI Console for Test Generation demonstration #1637
Replies: 10 comments 1 reply
-
Hey @sahadat-sk ! We're working internally to define the requirements for this project better. Please allow us a few days to get back to you on this. |
Beta Was this translation helpful? Give feedback.
-
Hi @sahadat-sk ! here's a very high-level wireframe/idea of how we're planning to place the components. Please note that after the discussions we've decided not to move forward with the separate code-sandbox development, we believe that can be done leveraging existing sandboxing tools. This project will majorly revolve around adding this Auto-Test generation demo/play area on the keploy website only. While you can add the styling, animations and other vanity things later, it's advised to build a prototype for the above design and become aware of the scenarios that can happen in this playground. |
Beta Was this translation helpful? Give feedback.
-
Hey @nehagup, I've created a prototype based on the wireframe. It allows users to view the project's file tree , alongside a config.yaml file for configuration. A vertical stepper guides users through the process, while basic terminal commands can be run to see sample outputs from keploy. Video Demo of the prototype: keploy_ui_console.mp4This isn't the final design; it's simply to demonstrate some of the application's functionality. |
Beta Was this translation helpful? Give feedback.
-
Hi @sahadat-sk providing the schema of the backend server for more context. Currently it is in REST but it will be migrated to graphql server soon LANDING PAGEOverviewThis project is a Kubernetes-based code execution platform that supports various programming languages and offers functionalities for code submission. It is integrated with Keploy, allowing users to utilize Keploy's features such as test case generation, API mock recording, and more, directly within the platform. Features
APIs1. Submit CodeEndpoint: /submit-code
Method: POST Body: {
"language": "PYTHON/GOLANG/JAVASCRIPT",
"code": "<code_content>",
"code_submission_id": "<submission_id>"
} Usage:
Responses:
2. Run CommandEndpoint: /run-command
Method: POST Body: {
"code_submission_id": "<submission_id>",
"command": "<command_name>",
"command_content": "<custom_command>",
"test_set_name": "<test_set_name>",
"test_case_name": "<test_case_name>",
"report_name": "<report_name>"
} Responses:
Available Commands and Usage in Run command API:
3. Delete Code SubmissionEndpoint: /delete-code-submission
Method: POST Body: {
"code_submission_id": "<submission_id>"
} Responses:
|
Beta Was this translation helpful? Give feedback.
-
@sahadat-sk Please submit the repo of your prototype for review and start working on the proposal. Please see if you can work on a few more website repo issues to make your proposal stronger. |
Beta Was this translation helpful? Give feedback.
-
Hi @charankamarapu, thanks for sharing the backend schema. Could you please share the backend server URL? It would help a lot with integrating it into the prototype. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hey @nehagup , @charankamarapu can you please review my prototype - Link |
Beta Was this translation helpful? Give feedback.
-
Hey @nehagup can you please provide feedback for my prototype? Link |
Beta Was this translation helpful? Give feedback.
-
Hey everyone, I was thinking this could be a possible design for the console, Can you guys review them, and share your thoughts? |
Beta Was this translation helpful? Give feedback.
-
Hey @nehagup, please review my prototype. Also, I would be grateful if you could suggest changes to strengthen my GSoC proposal. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, I'd like to discuss my proposed design for the UI console for the test generation demonstration. Here's what I'm thinking:
The UI consists of three main sections:
API Section: Users can request different API endpoints and observe how keploy automatically generates tests by capturing those endpoints.
Console: This section displays what the tests will look like when recorded, as well as the output when tests are run.
Files Section: Here, users can see the files we are running tests for. This section contains pre-written code similar to the projects in the quickstart section of keploy documentation. Users can also view the new test files created when any API endpoint is hit.
These are my initial thoughts on the design. I welcome any suggestions or feedback.
Figma Link
Beta Was this translation helpful? Give feedback.
All reactions