# testRecipe (/docs/api/core/functions/testRecipe)



```ts
function testRecipe(
   judge, 
   recipe, 
   fixtures, 
   options?
): Promise<TestReport>;
```

Fires every Fixture through the Judge at once and lets the Judge's gate meter concurrency.
The first `JudgeError` or `JudgeExhaustedError` aborts the rest and is rethrown: a partial
accuracy is worse than none.

## Parameters [#parameters]

| Parameter  | Type                                                                                                   |
| ---------- | ------------------------------------------------------------------------------------------------------ |
| `judge`    | [`Judge`](/docs/api/core/interfaces/Judge)                                                             |
| `recipe`   | [`Recipe`](/docs/api/core/type-aliases/Recipe)                                                         |
| `fixtures` | [`Fixture`](/docs/api/core/interfaces/Fixture)\<[`Questions`](/docs/api/core/interfaces/Questions)>\[] |
| `options`  | [`TestRecipeOptions`](/docs/api/core/interfaces/TestRecipeOptions)                                     |

## Returns [#returns]

`Promise`\<[`TestReport`](/docs/api/core/interfaces/TestReport)>
