# ReportGroupType

The type of reports in the report group.

- Source: [`aws-codebuild/lib/report-group.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-codebuild/lib/report-group.ts#L80)
- Type last changed: v2.28.0 · 14 Jun 2022

## Example

```ts
declare const source: codebuild.Source;

// create a new ReportGroup
const reportGroup = new codebuild.ReportGroup(this, 'ReportGroup', {
    type: codebuild.ReportGroupType.CODE_COVERAGE
});

const project = new codebuild.Project(this, 'Project', {
  source,
  buildSpec: codebuild.BuildSpec.fromObject({
    // ...
    reports: {
      [reportGroup.reportGroupArn]: {
        files: '**/*',
        'base-directory': 'build/coverage-report.xml',
        'file-format': 'JACOCOXML'
      },
    },
  }),
});
```

## Members

| Member | Description |
| --- | --- |
| `TEST` | The report group contains test reports. |
| `CODE_COVERAGE` | The report group contains code coverage reports. |

## Referenced by

- [`ReportGroup`](/v2/docs/aws-cdk-lib.aws_codebuild.ReportGroup).type
- [`ReportGroupProps`](/v2/docs/aws-cdk-lib.aws_codebuild.ReportGroupProps).type
