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

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

## postcssTape() function

Create a test suite for a PostCSS plugin.

**Signature:**

```typescript
export declare function postcssTape(pluginCreator: PluginCreator<unknown>, runOptions?: Options): (options: Record<string, TestCaseOptions>) => Promise<void>;
```

## Parameters

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

Parameter


</th><th>

Type


</th><th>

Description


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

pluginCreator


</td><td>

PluginCreator&lt;unknown&gt;


</td><td>


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

runOptions


</td><td>

[Options](./postcss-tape.options.md)


</td><td>

_(Optional)_


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

**Returns:**

(options: Record&lt;string, [TestCaseOptions](./postcss-tape.testcaseoptions.md)<!-- -->&gt;) =&gt; Promise&lt;void&gt;

