---
title: testDescription
framework: testing
role: symbol
role_heading: Instance Property
path: testing/customteststringconvertible/testdescription
---

# testDescription

A description of this instance to use when presenting it in a test’s output.

## Declaration

```swift
var testDescription: String { get }
```

## Mentioned in

Describing and reflecting values

## Discussion

Discussion Do not use this property directly. To get the test description of a value, use Swift/String/init(describingForTest:).
