Generate Tests Using Dashboard

After installation, the GitAuto dashboard provides a visual interface to manage test generation for your repositories.

1

Sign in to the GitAuto dashboard

Screenshot of the GitAuto dashboard sign in page. The image shows the sign in interface with a 'Sign in' button prominently displayed. Take a screenshot of the initial GitAuto dashboard sign in screen before authentication.

First, on the top right corner of any page, click on the "Sign in" button. Then, sign in with your GitHub account.

2

Visit the GitAuto dashboard

Screenshot of the GitAuto dashboard home page. The image shows the dashboard home page with a list of repositories and a 'Actions' button prominently displayed. Take a screenshot of the initial GitAuto dashboard home page.

After signing in, you will be redirected to the GitAuto dashboard. The dashboard will display a list of organizations and repositories where GitAuto is installed.

3

Select your GitHub organization and repository

Screenshot showing the repository selection interface in the GitAuto dashboard. The image displays dropdown menus for selecting an organization and repository. Take a screenshot showing both dropdown menus expanded or with a repository already selected.

Select your GitHub organization and repository from the dropdown menu. Only repositories where GitAuto is installed will be displayed.

Note: If you don't see your repository, verify that GitAuto is installed for that organization and that you have appropriate permissions.

4

Browse repository files

Screenshot showing the file list view in the GitAuto dashboard. The image displays a table of repository files with columns for file paths, coverage percentages (if available), and selection checkboxes. Take a screenshot showing multiple files listed with their coverage information.

The dashboard will display a list of files in your repository. If you've integrated with coverage reports, you'll also see coverage percentages for each file.

5

Set Parent Issue (Optional)

Screenshot showing the Parent Issue selection dropdown in the GitAuto dashboard. The image displays the dropdown menu with available open issues that can be selected as parent issues. Take a screenshot showing the Parent Issue dropdown expanded with several issue options visible.

Before generating tests, you can optionally select a Parent Issue. When you set a parent issue, GitAuto will create child issues linked to it. This allows you to:

  • Define common rules - Write shared testing rules and guidelines in the parent issue that will be applied to all child issues
  • Organize test generation - Group related test generation tasks under a single parent issue
  • Reuse system prompts - The parent issue content serves as a system prompt for GitAuto when generating tests

Tip: You can attach up to 100 child issues to a single parent issue. When you reach this limit, detach closed child issues from the parent issue or create a new parent issue.

6

Generate tests

Screenshot showing the test generation interface. The image displays several files selected with checkboxes and the Actions dropdown menu expanded, showing options for 'Create Issue Only' and 'Create Issue & PR'. Take a screenshot with files selected and the Actions menu open to show these options.

Select files you want to test by checking the boxes next to them. We recommend starting with smaller files. Then click the pink "Actions" button and choose either:

  • Create Issue Only - Creates a GitHub issue for review before generating tests
  • Create Issue & PR - Creates both an issue and generates a pull request with tests immediately
7

Review on GitHub

Screenshot showing the dashboard after test generation with links to GitHub issues. The image displays the file list with GitHub issue links next to files that have had tests generated. The screenshot should show these links in the dashboard interface, indicating successful test generation.

Once successful, issue URLs will be linked to the files in the dashboard. Click these links to go to GitHub issues where you can review the generated tests.