---
title: sourceLocation
framework: testing
role: symbol
role_heading: Instance Property
path: testing/issue/sourcelocation
---

# sourceLocation

The location in source where this issue occurred, if available.

## Declaration

```swift
var sourceLocation: SourceLocation? { get set }
```
