---
lang: en
title: 'API docs: repository-tests.crudrepositorytestsuite'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/repository-tests
permalink: /doc/en/lb4/apidocs.repository-tests.crudrepositorytestsuite.html
---

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

[Home](./index.md) &gt; [@loopback/repository-tests](./repository-tests.md) &gt; [crudRepositoryTestSuite](./repository-tests.crudrepositorytestsuite.md)

## crudRepositoryTestSuite() function

<b>Signature:</b>

```typescript
export declare function crudRepositoryTestSuite(dataSourceOptions: DataSourceOptions, repositoryClass: CrudRepositoryCtor, partialFeatures: Partial<CrudFeatures>): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  dataSourceOptions | [DataSourceOptions](./repository-tests.datasourceoptions.md) |  |
|  repositoryClass | [CrudRepositoryCtor](./repository-tests.crudrepositoryctor.md) |  |
|  partialFeatures | Partial&lt;[CrudFeatures](./repository-tests.crudfeatures.md)<!-- -->&gt; |  |

<b>Returns:</b>

void


