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

Increase test coverage #963

Merged
merged 5 commits into from
Jan 21, 2023

Conversation

MarkEWaite
Copy link
Contributor

Increase test coverage

The increases are minor changes that cover a few more JGit methods without significantly increasing test time.

  • Call prune() instead of prune(true) at least once
  • Test null depth for shallow fetch
  • Test shared() in addition to shared(true)
  • Call tags(boolean) from a test
  • Test push.force()

Checklist

  • I have read the CONTRIBUTING doc
  • I have referenced the Jira issue related to my changes in one or more commit messages
  • I have added tests that verify my changes
  • Unit tests pass locally with my changes
  • I have added documentation as necessary
  • No Javadoc warnings were introduced with my changes
  • No spotbugs warnings were introduced with my changes
  • I have interactively tested my changes

Types of changes

  • Tests

@MarkEWaite MarkEWaite added the test Automated test addition or improvement label Jan 21, 2023
@MarkEWaite MarkEWaite enabled auto-merge (rebase) January 21, 2023 16:33
@MarkEWaite MarkEWaite merged commit 1a49fa4 into jenkinsci:master Jan 21, 2023
@MarkEWaite MarkEWaite deleted the increase-test-coverage branch January 21, 2023 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Automated test addition or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant