ol create test

Create a test case for an asset

The ol create test command generates a new test case for a specified 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

Creating a test

temp> ol create test func_echo_my_int
temp$ ol create test func_echo_my_int