<!--
{
  "availability" : [
    "*: -"
  ],
  "documentType" : "symbol",
  "framework" : "XCTest",
  "identifier" : "/documentation/XCTest/XCTestProbe",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "XCTest"
    ],
    "preciseIdentifier" : "c:objc(cs)XCTestProbe"
  },
  "title" : "XCTestProbe"
}
-->

# XCTestProbe

An object that observes test activity status.

```
class XCTestProbe
```

## Topics

### Inspecting a Test

[`isTesting()`](/documentation/XCTest/XCTestProbe/isTesting())

A Boolean value that indicates whether a test is running.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)