8000 Pitest by harikrishnan83 · Pull Request #714 · specmatic/specmatic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Pitest #714

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

Closed
wants to merge 2 commits into from
Closed

Pitest #714

wants to merge 2 commits into from

Conversation

harikrishnan83
Copy link
Contributor

What:

Why:

How:

Checklist:

Issue ID:
Closes: #123

* main: (52 commits)
  Updated WSDL tests for attributes
  Updated some tests
  Updated some tests
  Created a method to log all the facts associated with a request, so that we can identify the different scenarios that are being tested ( for wsdl attribute tests)
  Validated actual counts of expected tests instead of just asserting if the count is greater than 1. Modified the stub tests for attributes to make them more lightweight and precise (without having to actually run the stub)
  minor changes, clean up
  Added tests to validate behaviour of mandatory attributes in wsdl in stub mode.
  Removed explicit filtering of XMLPattern attributes to only retain the 'SPECMATIC_XML_ATTRIBUTE_PREFIX' attribute when de-referencing. As due to this, any other custom attribute defined, gets ignored.
  Minor refactorings
  Update the version to 0.76.0
  Addressed review comments: 1. Added default value(null) for the configFileName param in loadSpecmaticJsonConfig(),  so that we don't explicitly need to pass a null. 2. Improved the info message if no report configuration section is found in specmatic.json. 3. Improved the error message displayed if the API Coverage report generated is blank ( provided guidance on scenarios where a blank report is generated) 4.Extracted code in OpenApiCoverageReportInput.generate() to separate methods with descriptive names to eliminate the need for comments.
  clean up
  Auto-sized the width of the remarks column based on the longest remarks string.
  Left aligned all the text columns in the API Coverage report.
  Added a 'Remarks' column in the API Coverage report to indicate if the endpoint is covered, missing in spec, or not implemented in code.
  Renamed the 'count' column to '#excercised' in the API Coverage Summary report.
  minor changes
  Fixed issues in marking tests as not implemented.
  Marked all tests which have failed whose path/method are not found in the actuator as not implemented.
  If an operation is defined in the spec, but not implemented in code, it won't get counted for coverage.
  ...
@harikrishnan83 harikrishnan83 deleted the pitest branch December 18, 2023 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0