---
title: "TestServerOptions"
generated: true
---


## TestServerOptions

<GenerationInfo sourceFile="packages/testing/src/types.ts" sourceLine="14" packageName="@vendure/testing" />

Configuration options used to initialize an instance of the <a href='/reference/typescript-api/testing/test-server#testserver'>TestServer</a>.

```ts title="Signature"
interface TestServerOptions {
    productsCsvPath?: string;
    initialData: InitialData;
    customerCount?: number;
    logging?: boolean;
}
```

<div className="members-wrapper">

### productsCsvPath

<MemberInfo kind="property" type={`string`}   />

The path to an optional CSV file containing product data to import.
### initialData

<MemberInfo kind="property" type={`<a href='/reference/typescript-api/import-export/initial-data#initialdata'>InitialData</a>`}   />

An object containing non-product data which is used to populate the database.
### customerCount

<MemberInfo kind="property" type={`number`} default={`10`}   />

The number of fake Customers to populate into the database.
### logging

<MemberInfo kind="property" type={`boolean`} default={`false`}   />

Set this to `true` to log some information about the database population process.


</div>
