gen_test

Run test command in sandbox.

Arguments

NameTypeDescriptionRequired

path_to_file

string

The file path of the source file.

test_command

string

The command to run the test.

instruction

string

Instructions on how to write the test.

Returns

TypeDescription

string

Path to the file where the test was generated.

Example

- name: gen_test
  arguments:
    path_to_file: <path-to-source-file>
    test_command: <test-command>
    instruction: <test-writing-instruction>
  returns: <path-to-generated-test-file>

Last updated