Added Collapsible panels and cURL Import Function.#1
Merged
javaChip56 merged 2 commits intomasterfrom Mar 14, 2026
Merged
Conversation
added 2 commits
March 14, 2026 17:28
- Implemented CurlAnalyzeRequest and CurlAnalyzeResponse models for handling cURL command analysis. - Created CurlCommandAnalyzer service to parse cURL commands and analyze against existing environments and endpoints. - Added DashboardSuiteManifestFactory for creating dashboard manifests from test suites. - Introduced ConfiguredTestSuiteProvider for loading configured test suites from YAML files. - Developed HTML and JavaScript interface for cURL command input and analysis. - Added unit tests for CurlCommandAnalyzer and DashboardSuiteManifestFactory to ensure functionality. - Created interfaces IConfiguredTestSuiteProvider and ICurlCommandAnalyzer for better abstraction. - Included necessary CSS and JavaScript files for the new cURL import feature.
- Updated README.md to reflect new features including response body parsing and assertion building. - Modified CurlContracts.cs to include properties for response body and assertions in CurlAnalyzeRequest. - Enhanced CurlCommandAnalyzer.cs to support matching environments and endpoints based on relative paths, and to include assertions in generated YAML. - Added new HTML elements and JavaScript functionality in curl-import.html and curl-import.js for pasting response bodies and building assertions. - Improved styles in styles.css for the new assertion builder UI components. - Added unit tests in CurlCommandAnalyzerTests.cs to verify the new functionality for environment matching and assertion inclusion in generated YAML.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Panels in the Test runner are now collapsible.
Selection of individual or a group of tests is now possible.
The app also allows Environment and Endpoint YAML files to be generated from cURL commands and response body.