Open
Conversation
Added a GitHub Actions workflow `.github/workflows/DiffblueCover.yml` invoking Diffblue Cover on each pull request. This default workflow configuration should be sufficient for single module Maven projects, but will need further customization for more complex projects. ## Next steps - [ ] Obtain a license activation code. - Contact sales@diffblue.com if you don't already have one. - [ ] Obtain a GitHub access token used to interact with GitHub APIs and start workflows. - Use https://github.com/settings/tokens/new to generate a token with full `repo` access. - [ ] Configure repository secrets: - Use https://github.com/{owner}/{repo}/settings/secrets/actions - Create a `DIFFBLUE_LICENSE_KEY` secret containing your license activation code. - Create a `DIFFBLUE_TOKEN` secret containing your access token. - [ ] Ensure that the project is correctly built before Diffblue Cover is invoked. - [ ] Assuming you made changes above, then navigate to the latest action and click "Re-run all jobs" - [ ] Enjoy some AI generated unit tests! See [Customizing GitHub Actions](https://docs.diffblue.com/customizing-github-actions) for ideas on further customization.
This comment has been minimized.
This comment has been minimized.
Diffblue Cover
|
This file contains hidden or 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
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.
Configuring Diffblue Cover
Added a GitHub Actions workflow
.github/workflows/DiffblueCover.ymlinvoking Diffblue Cover on each pull request.This default workflow configuration should be sufficient for single module Maven projects, but will need further customization for more complex projects.
Next steps
repoaccess.DIFFBLUE_LICENSE_KEYsecret containing your license activation code.DIFFBLUE_TOKENsecret containing your access token.See Customizing GitHub Actions for ideas on further customization.