Skip to content
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

feat: support to calculate the API coverage #89

Merged
merged 2 commits into from Jun 14, 2023
Merged

Conversation

LinuxSuRen
Copy link
Owner

@LinuxSuRen LinuxSuRen commented Jun 13, 2023

There are two important features in this PR. Now it could support brace expansion, and calculate the API coverage via Swagger:

atest run -p 'docs/api-testing/test-suite-{vm,resource}.yaml' --swagger-url http://172.11.0.13:32535/apidocs.json

@codacy-production
Copy link

codacy-production bot commented Jun 13, 2023

Coverage summary from Codacy

Merging #89 (5ba30ae) into master (909341b) - See PR on Codacy

Coverage variation Diff coverage
+0.15% 94.34%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (909341b) 1380 1292 93.62%
Head commit (5ba30ae) 1478 (+98) 1386 (+94) 93.78% (+0.15%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#89) 106 100 94.34%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@sonarcloud
Copy link

sonarcloud bot commented Jun 14, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
2.3% 2.3% Duplication

@LinuxSuRen LinuxSuRen merged commit 2520e80 into master Jun 14, 2023
7 checks passed
@LinuxSuRen LinuxSuRen deleted the feat/api-converage branch June 14, 2023 02:32
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.

None yet

1 participant