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

# sourceLocation

The source location of this test.

## Declaration

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