CLI Tool#

For easy explaination in following usecases, we firstly suppose that we have created two parameter group json files manually:

Listing 1 test.py#
def x(a, b):
    return a+b

def y(a, b):
    return a-b
Listing 2 manual_p_group1.json#
[
    10, 0
]
Listing 3 manual_p_group2.json#
[
    10, 0
]

You can always set the -q or --quiet flag to mute the log#

unit-run -q once tests/test.py y "[1, 2]"
unit-run --quiet create tests/test.py y tests/test -j name1 "[1,2]" name2 "{\"a\": 3, \"b\": 5}" 
unit-run -q run tests/test -g name2
...