---
title: Test.Case
framework: testing
role: symbol
role_heading: Structure
path: testing/test/case
---

# Test.Case

A single test case from a parameterized Test.

## Declaration

```swift
struct Case
```

## Overview

Overview A test case represents a test run with a particular combination of inputs. Tests that are not parameterized map to a single instance of Test.Case.

## Topics

### Instance Properties

- [isParameterized](testing/test/case/isparameterized.md)

### Type Properties

- [current](testing/test/case/current.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Test parameterization

- [Implementing parameterized tests](testing/parameterizedtesting.md)
- [Test(_:_:arguments:)](testing/test(_:_:arguments:)-8kn7a.md)
- [Test(_:_:arguments:_:)](testing/test(_:_:arguments:_:).md)
- [Test(_:_:arguments:)](testing/test(_:_:arguments:)-3rzok.md)
- [CustomTestArgumentEncodable](testing/customtestargumentencodable.md)
