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

Test Coverage Improvement #72

Open
TJM opened this issue Apr 19, 2023 · 0 comments
Open

Test Coverage Improvement #72

TJM opened this issue Apr 19, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@TJM
Copy link
Contributor

TJM commented Apr 19, 2023

Current:

ok  	github.com/jfrog/artifactory-secrets-plugin	0.508s	coverage: 62.7% of statements

See coverage.html file (inside coverage.html.gz) for details. Generated with: go tool cover -html=coverage.txt -o ~/Downloads/coverage.html.

Most of the uncovered code is inside if err != nil sections, which I think we can cover with mock tests. Some of the bigger sections are like the "renew" and "revoke" which are super easy in acceptance, but could also be mocked.

@alexhung alexhung self-assigned this Apr 19, 2023
@alexhung alexhung added the enhancement New feature or request label Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants