Commands
|
Description
|
---|---|
flow test action <name>
|
Tests the action named <name>.
|
flow test connection <name>
|
Tests the connection named <name>.
|
flow test lookup <name> <method>
|
Tests the lookup function named <method> in lookup <name>.
|
flow test oauth <name>
|
Tests the oauth named <name>.
|
flow test trigger <name> <method>
|
Tests the trigger named <name>.
|
Options
|
Description
|
Data Type
|
---|---|---|
--version
|
Displays the version number.
|
[boolean]
|
--help
|
Displays the help.
|
[boolean]
|
--timeout
|
The timeout for the operation. The --timeout option specifies a time-out in milliseconds (defaults to 30000 ms). This option ensures that the code finishes within the specified time and it captures errors, such as missed invocation of callbacks.
|
[default: 30000]
|
--logLevel,-1
|
Sets the log level.
|
[default: “info”]
|
Options
|
Description
|
Data Type
|
---|---|---|
--version
|
Displays the version number.
|
[boolean]
|
--help
|
Displays the help.
|
[boolean]
|
--timeout
|
The timeout for the operation. The --timeout option specifies a time-out in milliseconds (defaults to 30000 ms). This option ensures that the code finishes within the specified time and it captures errors, such as missed invocation of callbacks.
|
[default: 30000]
|
--logLevel,-1
|
Sets the log level.
|
[default: “info”]
|
--artifactVersion,-v
|
Version of the artifact to test.
|
NA
|
--projectDir,-d
|
The parent directory of the project.
|
NA
|
--input,-i
|
Name of the input variable.
|
NA
|
--output,-o
|
Name of the expected output variable.
|
NA
|
--testDataFile,-f
|
Path of the testData file.
|
NA
|
--save,-s
|
Saves to the credential store for a user.
|
NA
|
--noSchemaValidation,-n
|
Disables the schema validation.
|
[default: false]
|
Options
|
Description
|
Data Type
|
---|---|---|
--version
|
Displays the version number.
|
[boolean]
|
--help
|
Displays the help.
|
[boolean]
|
--timeout
|
The timeout for the operation. The --timeout option specifies a time-out in milliseconds (defaults to 30000 ms). This option ensures that the code finishes within the specified time and it captures errors, such as missed invocation of callbacks.
|
[default: 30000]
|
--logLevel,-1
|
Sets the log level.
|
[default: “info”]
|
--projectDir,-d
|
The parent directory of the project.
|
NA
|
--connection,-c
|
The uid of the connection to inject.
|
NA
|
--access_token,-a
|
Name of the expected output variable.
|
NA
|
--input,-i
|
Path of the testData file.
|
NA
|
--output,-o
|
Name of the expected output variable.
|
NA
|
--testDataFile,-f
|
Path of the testData file.
|
NA
|
--searchById
|
The id to use for search.
|
NA
|
--searchByValue
|
The value to use for search.
|
NA
|
--filter
|
The filter to use to search for items.
|
NA
|
Options
|
Description
|
Data Type
|
---|---|---|
--version
|
Displays the version number.
|
[boolean]
|
--help
|
Displays the help.
|
[boolean]
|
--timeout
|
The timeout for the operation. The --timeout option specifies a time-out in milliseconds (defaults to 30000 ms). This option ensures that the code finishes within the specified time and it captures errors, such as missed invocation of callbacks.
|
[default: 30000]
|
--logLevel,-1
|
Sets the log level.
|
[default: “info”]
|
--artifactVersion,-v
|
Version of the artifact to test.
|
[default: “v1”]
|
--connection,-c
|
The uid of the connection to inject.
|
NA
|
--access_token,-a
|
Name of the expected output variable.
|
NA
|
--projectDir,-d
|
The parent directory of the project.
|
[default: “.”]
|
--input,-i
|
Path of the testData file.
|
NA
|
--output,-o
|
Name of the expected output variable.
|
NA
|
--testDataFile,-f
|
Path of the testData file.
|
NA
|
--noSchemaValidation,-n
|
Disables the schema validation.
|
[default: false]
|
Options
|
Description
|
Data Type
|
---|---|---|
--version
|
Displays the version number.
|
[boolean]
|
--help
|
Displays the help.
|
[boolean]
|
--timeout
|
The timeout for the operation. The --timeout option specifies a time-out in milliseconds (defaults to 30000 ms). This option ensures that the code finishes within the specified time and it captures errors, such as missed invocation of callbacks.
|
[default: 30000]
|
--logLevel,-1
|
Sets the log level.
|
[default: “info”]
|
--artifactVersion,-v
|
Version of the artifact to test.
|
[default: “v1”]
|
--connection,-c
|
The uid of the connection to inject.
|
NA
|
--access_token,-a
|
Name of the expected output variable.
|
NA
|
--projectDir,-d
|
The parent directory of the project.
|
[default: “.”]
|
--input,-i
|
Name of the input variable.
|
NA
|
--output,-o
|
Name of the expected output variable.
|
NA
|
--testDataFile,-f
|
Path of the testData file.
|
NA
|
--noSchemaValidation,-n
|
Disables the schema validation.
|
[default: false]
|
--polling,-p
|
Indicates that the trigger is a polling trigger.
|
NA
|
--event,-e
|
The event to test.
|
NA
|
--mockData,-m
|
The name of the variable holding the mockdata for an event.
|
NA
|
--interval,-t
|
The interval in seconds after which to trigger.
|
[default: 15]
|
--stopAfter,-s
|
Maximum number of calls to the trigger.
|
[default: 1]
|