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

# name

The name of this instance.

## Declaration

```swift
var name: String { get set }
```

## Discussion

Discussion The value of this property is equal to the name of the symbol to which the Test attribute is applied (that is, the name of the type or function.) To get the customized display name specified as part of the Test attribute, use the displayName property.
