<!--
{
  "availability" : [
    "Swift: 6.3.0 -",
    "Xcode: 26.4.0 -",
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "swift: 6.0.0 -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Testing",
  "identifier" : "/documentation/Testing/Issue/Severity-swift.enum/warning",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Swift Testing"
    ],
    "preciseIdentifier" : "s:7Testing5IssueV8SeverityO7warningyA2EmF"
  },
  "title" : "Issue.Severity.warning"
}
-->

# Issue.Severity.warning

The severity level for an issue which should be noted but is not
necessarily an error.

```
case warning
```

## Discussion

An issue with warning severity does not cause the test it’s associated
with to be marked as a failure, but is noted in the results.

---

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)