---
title: severity
framework: xctest
role: symbol
role_heading: Instance Property
path: xctest/xctissue-swift.struct/severity-swift.property
---

# severity

The severity of the issue.

## Declaration

```swift
var severity: XCTIssue.Severity { get set }
```
