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

Configure Diffblue Cover #124

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Configure Diffblue Cover #124

wants to merge 3 commits into from

Conversation

diffblue-cover[bot]
Copy link

@diffblue-cover diffblue-cover bot commented Aug 18, 2023

Configuring Diffblue Cover

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.
  • Obtain a GitHub access token used to interact with GitHub APIs and start workflows.
  • Configure repository secrets:
  • 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 for ideas on further customization.

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.
@roxspring

This comment has been minimized.

@roxspring
Copy link
Collaborator

roxspring commented Aug 18, 2023

Diffblue Cover

Report Classes Methods Tests
(root module) 26 117 83

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

2 participants