---
updatedAt: 2025-06-03T20:36:48.000Z
agentTools:
  projectIndex: https://docs.ol-hub.com/llms.txt
---

# ol create test

Create a test case for an asset

The **ol create test** command generates a new test case for a specified [asset](https://ol-hub.readme.io/docs/asset). Generally, a test case is automatically created when an asset is added to the module. The **ol create test** command can generate test cases in addition to the automatically created test.

## Rules

* Login to the OL Hub.
* Execute the **ol create test** command from the module root folder.

## Syntax

ol create test ASSET\_NAME \[OPTIONS]

## Arguments

### ASSET\_NAME

Set the name of the asset for which you want to create a test case.

## Examples

![](https://files.readme.io/53873b4-vertical_bar.png)  **Creating a test**

```Text Windows
temp> ol create test func_echo_my_int
```
```Text macOS
temp$ ol create test func_echo_my_int
```