<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@csstools/postcss-tape](./postcss-tape.md) &gt; [TestCaseOptions](./postcss-tape.testcaseoptions.md)

## TestCaseOptions interface

Options for a test case.

**Signature:**

```typescript
export interface TestCaseOptions 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[after?](./postcss-tape.testcaseoptions.after.md)


</td><td>


</td><td>

() =&gt; void \| Promise&lt;void&gt;


</td><td>

_(Optional)_ Do something after the test is run.


</td></tr>
<tr><td>

[before?](./postcss-tape.testcaseoptions.before.md)


</td><td>


</td><td>

() =&gt; void \| Promise&lt;void&gt;


</td><td>

_(Optional)_ Do something before the test is run.


</td></tr>
<tr><td>

[exception?](./postcss-tape.testcaseoptions.exception.md)


</td><td>


</td><td>

RegExp


</td><td>

_(Optional)_ Expected exception


</td></tr>
<tr><td>

[expect?](./postcss-tape.testcaseoptions.expect.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_ Override the file name of the "expect" file.


</td></tr>
<tr><td>

[message?](./postcss-tape.testcaseoptions.message.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_ Debug message


</td></tr>
<tr><td>

[options?](./postcss-tape.testcaseoptions.options.md)


</td><td>


</td><td>

unknown


</td><td>

_(Optional)_ Plugin options. Only used if `plugins` is not specified.


</td></tr>
<tr><td>

[plugins?](./postcss-tape.testcaseoptions.plugins.md)


</td><td>


</td><td>

Array&lt;Plugin&gt;


</td><td>

_(Optional)_ Plugins to use. When specified the original plugin is not used.


</td></tr>
<tr><td>

[result?](./postcss-tape.testcaseoptions.result.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_ Override the file name of the "result" file.


</td></tr>
<tr><td>

[source?](./postcss-tape.testcaseoptions.source.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_ Override the file name of the "source" file.


</td></tr>
<tr><td>

[warnings?](./postcss-tape.testcaseoptions.warnings.md)


</td><td>


</td><td>

number


</td><td>

_(Optional)_ The expected number of warnings.


</td></tr>
</tbody></table>

