-
Notifications
You must be signed in to change notification settings - Fork 50
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
Triangulate Example Commands #1357
Open
StarKhan6368
wants to merge
38
commits into
main
Choose a base branch
from
example_parity
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
Abstract out the common logic in backward-compatibility-check command
…ommand which can let us run the check on a specific folder or file in a repository
…ince the logic is reusable.
…ompatibilityCheckCommand
Add deprecation notice to all the b/w compatibility related commands which will be eventually removed
…l bring the repository back to the original state if the command is aborted in between
…d unnecessary logs in the backward compatibility check result logs
…le override in sub-classes of BackwardCompatibilityCheckBaseCommand
…patibility-check command
- This class will be used in example generation and parity with other protocol impls.
- New Abstract Classes for Examples Command. - Common Interface for example generation. - Moved InteractiveServer to application. - Move example template to JunitSupport. - Other HTML, CSS, JS Fixes.
- never show validation alert when testing. - fix main tag size and example name break.
- Use multi-level inheritance with interfaces. - Introduced a common base command with shared functions and cmd line options. - UI, UX fixes on frontend, etc.
- Use composition / delegation inplace of multi- inheritance. - Update dictionary usage in example_parity. - Fix errors caused by main merge.
- Reuse tests from `ExamplesCommandTest` and `ExamplesInteractiveServerTest`. - Fix typo in ExampleValidationResult. - add few other tests.
- Don't print dictionary in use, already printed by loadDictionary method.
- update descriptions so they're similar across protocols / implementations. - move `extensive` argument to ExamplesBase.kt
- Use Feature.createContractTestFromExampleFile in example testing.
- Add tests for inline examples validation.
- Use Result instead of TestResult, add result report in-case of test Failure. - [WIP] modifications to Feature test function createContractTestFromExampleFile. - Don't use ExactValue Pattern for response.
- use consoleLog and consoleDebug from log package - use restrictive access modifiers when possible. - add consoleDebug to log package.
- Code cleanup, moved thymeleaf to core completely, junit calls to core for html report - Move examples Dataclasses to core. - Remove unneeded Ktor deps from application.
- Clean up code - minor fixes
- Move validation result logging into class for reusability. - Other CSS and JS Fixes.
- load externalised example after parsing contract file to feature in OpenApiExamplesFeatureStrategy - Add test to ensure canonicalPath is used when matching example File to examples in scenario. - update test for example creation in Feature.
StarKhan6368
force-pushed
the
example_parity
branch
from
October 16, 2024 05:20
badea42
to
3b229f1
Compare
- minor refactors to ExamplesInteractiveServer
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.
What: Triangulate Example Commands across protocols / implementations.
How: Created Abstract classes for example generation, validation, and interactive server, which can then be reused across protocols for implementing examples commands.
Additional Features:
Checklist:
Note: This branch was created from the triangulate_bcc_commands.