---
title: stopDate
framework: xctest
role: symbol
role_heading: Instance Property
path: xctest/xctestrun/stopdate
---

# stopDate

The date and time when the test run stopped, or no value if the test hasn’t run.

## Declaration

```swift
var stopDate: Date? { get }
```

## See Also

### Tracking Test Durations

- [startDate](xctest/xctestrun/startdate.md)
- [testDuration](xctest/xctestrun/testduration.md)
- [totalDuration](xctest/xctestrun/totalduration.md)
