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

[Home](./index.md) &gt; [@contract-case/case-boundary](./case-boundary.md) &gt; [IRunTestCallback](./case-boundary.iruntestcallback.md)

## IRunTestCallback interface

This interface allows the DSL layer to invoke the test. If your test runner supports programmatically running different tests, then use this interface to tell a BoundaryContractVerifier how to call back to your DSL with a test name

**Signature:**

```typescript
export interface IRunTestCallback
```

## Methods

| Method                                                                    | Description                                                                                                                                                          |
| ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [runTest(testName, invoker)](./case-boundary.iruntestcallback.runtest.md) | Called once for each test in a Verification run. In an implementation, you should tell your test runner that it is running a test, and what the name of the test is. |
